diff src/conversation.c @ 2374:9e9385cddcc6

[gaim-migrate @ 2387] i need to go to class. but just because i need to do something doesn't mean i will, especially when what i need to do is related to school. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Sep 2001 20:32:59 +0000
parents 2927c2c26fe6
children 09fe1b00d31f
line wrap: on
line diff
--- a/src/conversation.c	Thu Sep 27 19:27:52 2001 +0000
+++ b/src/conversation.c	Thu Sep 27 20:32:59 2001 +0000
@@ -1429,11 +1429,11 @@
 			if (meify(what)) {
 				str = g_malloc(1024);
 				g_snprintf(str, 1024, "***%s", who);
-				strcpy(colour, "#6C2585\0");
+				strcpy(colour, "#6C2585");
 			} else {
 				str = g_malloc(1024);
 				g_snprintf(str, 1024, "*%s*:", who);
-				strcpy(colour, "#00ff00\0");
+				strcpy(colour, "#00ff00");
 			}
 		} else {
 			if (meify(what)) {
@@ -1442,14 +1442,19 @@
 					g_snprintf(str, 1024, "%s ***%s", AUTO_RESPONSE, who);
 				else
 					g_snprintf(str, 1024, "***%s", who);
-				strcpy(colour, "#062585\0");
+				if (flags & WFLAG_NICK)
+					strcpy(colour, "#ef7f00");
+				else
+					strcpy(colour, "#062585");
 			} else {
 				str = g_malloc(1024);
 				if (flags & WFLAG_AUTO)
 					g_snprintf(str, 1024, "%s %s", who, AUTO_RESPONSE);
 				else
 					g_snprintf(str, 1024, "%s:", who);
-				if (flags & WFLAG_RECV)
+				if (flags & WFLAG_NICK)
+					strcpy(colour, "#ef7f00");
+				else if (flags & WFLAG_RECV)
 					strcpy(colour, "#ff0000");
 				else if (flags & WFLAG_SEND)
 					strcpy(colour, "#0000ff");