- Timestamp:
- 2009-03-13T11:31:47Z (16 years ago)
- Branches:
- master
- Children:
- 3f81999
- Parents:
- 673a54c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
r673a54c rfc34fb5 350 350 else 351 351 color=5; /* red */ 352 colormsg = g_strdup_printf("\x03%.2d,00%s\x0F", color, newmsg); 352 353 if(newmsg[0] == ',') { 354 /* could be a problem with the color code */ 355 /* insert a space between color spec and message */ 356 colormsg = g_strdup_printf("\x03%.2d %s\x0F", color, newmsg); 357 } else { 358 colormsg = g_strdup_printf("\x03%.2d%s\x0F", color, newmsg); 359 } 353 360 } else { 354 361 colormsg = g_strdup(newmsg);
Note: See TracChangeset
for help on using the changeset viewer.