diff src/conversation.c @ 1439:06a21ec0e269

[gaim-migrate @ 1449] don't be stupid you moron committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 29 Jan 2001 01:07:55 +0000
parents 7688db14c6dc
children 6330d0bb309f
line wrap: on
line diff
--- a/src/conversation.c	Sun Jan 28 23:16:15 2001 +0000
+++ b/src/conversation.c	Mon Jan 29 01:07:55 2001 +0000
@@ -1186,6 +1186,7 @@
 		}
 
 	} else {
+		char buf2[BUF_LONG];
 		if ((clr = strstr(what, "<BODY BGCOLOR=\"#")) != NULL) {
 			sscanf(clr + strlen("<BODY BGCOLOR=\"#"), "%x", &colorv);
 		}
@@ -1227,10 +1228,12 @@
 					"<B>%s</B></FONT> ", colour, date(), str);
 		else
 			g_snprintf(buf, BUF_LONG, "<FONT COLOR=\"%s\"><B>%s</B></FONT> ", colour, str);
+		g_snprintf(buf2, BUF_LONG, "<FONT COLOR=\"%s\"><FONT SIZE=\"2\"><!--(%s) --></FONT>"
+				"<B>%s</B></FONT> ", colour, date(), str);
 
 		g_free(str);
 
-		gtk_imhtml_append_text(GTK_IMHTML(c->text), buf, 0);
+		gtk_imhtml_append_text(GTK_IMHTML(c->text), buf2, 0);
 
 		gtk_imhtml_append_text(GTK_IMHTML(c->text), what, gtk_font_options);