Mercurial > hg
comparison mcabber/src/hooks.c @ 729:39f67cade02c
Use bold font for outgoing messages
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 06 Mar 2006 11:59:34 +0100 |
parents | 421b337dc6d2 |
children | 1d9f0efcfcee |
comparison
equal
deleted
inserted
replaced
728:421b337dc6d2 | 729:39f67cade02c |
---|---|
90 if (!resname) | 90 if (!resname) |
91 resname = ""; | 91 resname = ""; |
92 wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg); | 92 wmsg = bmsg = g_strdup_printf("PRIV#<%s> %s", resname, msg); |
93 if (!strncmp(msg, "/me ", 4)) | 93 if (!strncmp(msg, "/me ", 4)) |
94 wmsg = mmsg = g_strdup_printf("PRIV#*%s %s", resname, msg+4); | 94 wmsg = mmsg = g_strdup_printf("PRIV#*%s %s", resname, msg+4); |
95 message_flags |= HBB_PREFIX_HLIGHT; | 95 /*message_flags |= HBB_PREFIX_HLIGHT;*/ |
96 } else { | 96 } else { |
97 // This is a regular chatroom message. | 97 // This is a regular chatroom message. |
98 // Let's see if we are the message sender, in which case we'll | 98 // Let's see if we are the message sender, in which case we'll |
99 // highlight it. | 99 // highlight it. |
100 const char *nick = buddy_getnickname(roster_usr->data); | 100 const char *nick = buddy_getnickname(roster_usr->data); |