comparison 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
comparison
equal deleted inserted replaced
2373:84a5ea08545a 2374:9e9385cddcc6
1427 if (flags & WFLAG_WHISPER) { 1427 if (flags & WFLAG_WHISPER) {
1428 /* if we're whispering, it's not an autoresponse */ 1428 /* if we're whispering, it's not an autoresponse */
1429 if (meify(what)) { 1429 if (meify(what)) {
1430 str = g_malloc(1024); 1430 str = g_malloc(1024);
1431 g_snprintf(str, 1024, "***%s", who); 1431 g_snprintf(str, 1024, "***%s", who);
1432 strcpy(colour, "#6C2585\0"); 1432 strcpy(colour, "#6C2585");
1433 } else { 1433 } else {
1434 str = g_malloc(1024); 1434 str = g_malloc(1024);
1435 g_snprintf(str, 1024, "*%s*:", who); 1435 g_snprintf(str, 1024, "*%s*:", who);
1436 strcpy(colour, "#00ff00\0"); 1436 strcpy(colour, "#00ff00");
1437 } 1437 }
1438 } else { 1438 } else {
1439 if (meify(what)) { 1439 if (meify(what)) {
1440 str = g_malloc(1024); 1440 str = g_malloc(1024);
1441 if (flags & WFLAG_AUTO) 1441 if (flags & WFLAG_AUTO)
1442 g_snprintf(str, 1024, "%s ***%s", AUTO_RESPONSE, who); 1442 g_snprintf(str, 1024, "%s ***%s", AUTO_RESPONSE, who);
1443 else 1443 else
1444 g_snprintf(str, 1024, "***%s", who); 1444 g_snprintf(str, 1024, "***%s", who);
1445 strcpy(colour, "#062585\0"); 1445 if (flags & WFLAG_NICK)
1446 strcpy(colour, "#ef7f00");
1447 else
1448 strcpy(colour, "#062585");
1446 } else { 1449 } else {
1447 str = g_malloc(1024); 1450 str = g_malloc(1024);
1448 if (flags & WFLAG_AUTO) 1451 if (flags & WFLAG_AUTO)
1449 g_snprintf(str, 1024, "%s %s", who, AUTO_RESPONSE); 1452 g_snprintf(str, 1024, "%s %s", who, AUTO_RESPONSE);
1450 else 1453 else
1451 g_snprintf(str, 1024, "%s:", who); 1454 g_snprintf(str, 1024, "%s:", who);
1452 if (flags & WFLAG_RECV) 1455 if (flags & WFLAG_NICK)
1456 strcpy(colour, "#ef7f00");
1457 else if (flags & WFLAG_RECV)
1453 strcpy(colour, "#ff0000"); 1458 strcpy(colour, "#ff0000");
1454 else if (flags & WFLAG_SEND) 1459 else if (flags & WFLAG_SEND)
1455 strcpy(colour, "#0000ff"); 1460 strcpy(colour, "#0000ff");
1456 } 1461 }
1457 } 1462 }