Mercurial > hg
diff mcabber/src/hbuf.c @ 1204:e802ec0c02d2
Basic support for nick highlighting in MUC rooms (the whole line is colored)
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 28 Apr 2007 21:52:57 +0200 |
parents | 5be2408a6534 |
children | 2de8f8ba1f34 |
line wrap: on
line diff
--- a/mcabber/src/hbuf.c Sat Apr 28 12:16:45 2007 +0200 +++ b/mcabber/src/hbuf.c Sat Apr 28 21:52:57 2007 +0200 @@ -294,7 +294,7 @@ { unsigned int i; hbuf_block *blk; - guchar last_persist_prefixflags = 0; + guint last_persist_prefixflags = 0; GList *last_persist; // last persistent flags hbb_line **array, **array_elt; @@ -327,8 +327,9 @@ if ((blk->flags & HBB_FLAG_PERSISTENT) && blk->prefix.flags) { last_persist_prefixflags = blk->prefix.flags; } else { - // Propagate highlighting flag - (*array_elt)->flags |= last_persist_prefixflags & HBB_PREFIX_HLIGHT; + // Propagate highlighting flags + (*array_elt)->flags |= last_persist_prefixflags & + (HBB_PREFIX_HLIGHT_OUT | HBB_PREFIX_HLIGHT); } hbuf = g_list_next(hbuf);