Changeset 5933da7
- Timestamp:
- 2008-02-18T09:36:23Z (17 years ago)
- Branches:
- master
- Children:
- b14890d
- Parents:
- fcfd9c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
rfcfd9c5 r5933da7 338 338 set_getbool(&ic->irc->set, "color_encrypted")) { 339 339 /* color according to f'print trust */ 340 charcolor;340 int color; 341 341 const char *trust = context->active_fingerprint->trust; 342 342 if(trust && trust[0] != '\0') 343 color= '3'; /* green */343 color=3; /* green */ 344 344 else 345 color= '5'; /* red */346 colormsg = g_strdup_printf("\x03% c%s\x0F", color, newmsg);345 color=5; /* red */ 346 colormsg = g_strdup_printf("\x03%.2d%s\x0F", color, newmsg); 347 347 } else { 348 348 colormsg = g_strdup(newmsg);
Note: See TracChangeset
for help on using the changeset viewer.