* Display message subjects in magenta instead of white
authorArt Cancro <ajc@citadel.org>
Sun, 12 Jan 2003 04:48:23 +0000 (04:48 +0000)
committerArt Cancro <ajc@citadel.org>
Sun, 12 Jan 2003 04:48:23 +0000 (04:48 +0000)
citadel/ChangeLog
citadel/commands.c
citadel/messages.c

index c8752996c49b3589830feae0b4bf4c0a261325c3..a095dcdf627ca7a8d50da1b770ec158448555b30 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 601.103  2003/01/12 04:48:23  ajc
+ * Display message subjects in magenta instead of white
+
  Revision 601.102  2003/01/06 09:17:10  error
  * Remove non (yet) existent sstring.c dependency from Makefile.in
 
@@ -4352,3 +4355,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index 795a8289f4932d05f3ff541de57677cd224c51a2..c6d71a82828413ee3998634881a5b536a167cfcd 100644 (file)
@@ -1286,7 +1286,6 @@ int fmout(
        char old = 0;           /* The previous character */
        int column = 0;         /* Current column */
        size_t i;               /* Generic counter */
-       size_t g = 0;
 
        num_urls = 0;   /* Start with a clean slate of embedded URL's */
 
index b733f5feba18dd82c7d83a5880cea077e47469b1..21af67c642123cd2c21b17805b3fa84778daa964 100644 (file)
@@ -539,8 +539,6 @@ int read_message(CtdlIPC *ipc,
                         message->author, message->node);
        }
 
-       if (pagin == 1 && !dest)
-               color(BRIGHT_WHITE);
        if (!dest) {
                ++lines_printed;
                lines_printed = checkpagin(lines_printed, pagin, screenheight);
@@ -554,6 +552,7 @@ int read_message(CtdlIPC *ipc,
                                fprintf(dest, "Subject: %s\n",
                                                        message->subject);
                        } else {
+                               color(BRIGHT_MAGENTA);
                                scr_printf("Subject: %s\n", message->subject);
                                ++lines_printed;
                                lines_printed = checkpagin(lines_printed,
@@ -562,6 +561,10 @@ int read_message(CtdlIPC *ipc,
                }
        }
 
+       if (pagin == 1 && !dest) {
+               color(BRIGHT_WHITE);
+       }
+
        /******* end of header output, start of message text output *******/
 
        /*