comparison 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
comparison
equal deleted inserted replaced
1438:7688db14c6dc 1439:06a21ec0e269
1184 g_free(t1); 1184 g_free(t1);
1185 } 1185 }
1186 } 1186 }
1187 1187
1188 } else { 1188 } else {
1189 char buf2[BUF_LONG];
1189 if ((clr = strstr(what, "<BODY BGCOLOR=\"#")) != NULL) { 1190 if ((clr = strstr(what, "<BODY BGCOLOR=\"#")) != NULL) {
1190 sscanf(clr + strlen("<BODY BGCOLOR=\"#"), "%x", &colorv); 1191 sscanf(clr + strlen("<BODY BGCOLOR=\"#"), "%x", &colorv);
1191 } 1192 }
1192 1193
1193 if (flags & WFLAG_WHISPER) { 1194 if (flags & WFLAG_WHISPER) {
1225 if (general_options & OPT_DISP_SHOW_TIME) 1226 if (general_options & OPT_DISP_SHOW_TIME)
1226 g_snprintf(buf, BUF_LONG, "<FONT COLOR=\"%s\"><FONT SIZE=\"2\">(%s) </FONT>" 1227 g_snprintf(buf, BUF_LONG, "<FONT COLOR=\"%s\"><FONT SIZE=\"2\">(%s) </FONT>"
1227 "<B>%s</B></FONT> ", colour, date(), str); 1228 "<B>%s</B></FONT> ", colour, date(), str);
1228 else 1229 else
1229 g_snprintf(buf, BUF_LONG, "<FONT COLOR=\"%s\"><B>%s</B></FONT> ", colour, str); 1230 g_snprintf(buf, BUF_LONG, "<FONT COLOR=\"%s\"><B>%s</B></FONT> ", colour, str);
1231 g_snprintf(buf2, BUF_LONG, "<FONT COLOR=\"%s\"><FONT SIZE=\"2\"><!--(%s) --></FONT>"
1232 "<B>%s</B></FONT> ", colour, date(), str);
1230 1233
1231 g_free(str); 1234 g_free(str);
1232 1235
1233 gtk_imhtml_append_text(GTK_IMHTML(c->text), buf, 0); 1236 gtk_imhtml_append_text(GTK_IMHTML(c->text), buf2, 0);
1234 1237
1235 gtk_imhtml_append_text(GTK_IMHTML(c->text), what, gtk_font_options); 1238 gtk_imhtml_append_text(GTK_IMHTML(c->text), what, gtk_font_options);
1236 1239
1237 gtk_imhtml_append_text(GTK_IMHTML(c->text), "<BR>", 0); 1240 gtk_imhtml_append_text(GTK_IMHTML(c->text), "<BR>", 0);
1238 1241