Eliminate the 'Internet mail recommends
authorArt Cancro <ajc@citadel.org>
Thu, 28 Jun 2007 04:01:12 +0000 (04:01 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 28 Jun 2007 04:01:12 +0000 (04:01 +0000)
a subject' message; the presence of the 'Subject:' prompt
ought to be enough to communicate that.  Also, do not prompt
if the subject is already set (which will be the case if the
user has selected a 'Reply' command).

citadel/messages.c

index 7faebcec03142cf7f11050772e5257d358f6ce18..a334a7fc7f385ab79c98f3cc655cf99e9bd2e080 100644 (file)
@@ -858,8 +858,7 @@ int client_make_message(CtdlIPC *ipc,
                scr_printf("Subject: %s\n", subject);
        }
        
-       if (subject_required) {
-               scr_printf("Internet mail recommends a subject.\n");
+       if ( (subject_required) && (strlen(subject) == 0) ) {
                newprompt("Subject: ", subject, 70);
        }