ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/src chat_room.c,1.43,1.44


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src chat_room.c,1.43,1.44
Date: Thu, 30 Jan 2003 10:03:53 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv19805/src

Modified Files:
        chat_room.c 
Log Message:
fix chat_room colors


Index: chat_room.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_room.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- chat_room.c 30 Jan 2003 05:27:49 -0000      1.43
+++ chat_room.c 30 Jan 2003 15:03:50 -0000      1.44
@@ -647,7 +647,7 @@
                         cur_time->tm_hour, cur_time->tm_min,
                         cur_time->tm_sec, chat_room->chat_room_account->alias);
                } else {
-                       g_snprintf(buff, 2048, "<FONT COLOR=\"#FF0000\"><B>%s: 
</B></FONT>", chat_room->chat_room_account->alias);
+                       g_snprintf(buff, 2048, "<FONT COLOR=\"#0000FF\"><B>%s: 
</B></FONT>", chat_room->chat_room_account->alias);
                }
        }
        else
@@ -666,11 +666,11 @@
                time(&t);
                cur_time = localtime(&t);
                if (iGetLocalPref("do_convo_timestamp")) {
-                       g_snprintf(buff, 2048, "<B><FONT 
COLOR=\"#ff0000\">%d:%.2d:%.2d</FONT> <FONT COLOR=\"%s\">%s: </FONT></B>",
-                        cur_time->tm_hour, cur_time->tm_min,
+                       g_snprintf(buff, 2048, "<B><FONT 
COLOR=\"%s\">%d:%.2d:%.2d</FONT> <FONT COLOR=\"%s\">%s: </FONT></B>",
+                        color,cur_time->tm_hour, cur_time->tm_min,
                         cur_time->tm_sec, color, user);
                } else {
-                       g_snprintf(buff, 2048, "<FONT COLOR=\"#FF0000\"><B>%s: 
</B></FONT>", user);
+                       g_snprintf(buff, 2048, "<FONT COLOR=\"%s\"><B>%s: 
</B></FONT>", color, user);
                }
                for (walk = chat_room->typing_fellows; walk && walk->data; walk 
= walk->next) {
                        acc = walk->data;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]