summaryrefslogtreecommitdiff
path: root/src/gui/gui-bar-item.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-07-12 08:13:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-07-12 08:13:58 +0200
commitf80a80204ac285df2e5e53da1de999ce67926e38 (patch)
treedc46df2aa76146df50d1120ac3f03df69c9a0585 /src/gui/gui-bar-item.c
parentb168a4307052861165b61374b20e11ef0a35ce65 (diff)
downloadweechat-f80a80204ac285df2e5e53da1de999ce67926e38.zip
core: add option weechat.color.status_nicklist_count (closes #109, closes #110)
Diffstat (limited to 'src/gui/gui-bar-item.c')
-rw-r--r--src/gui/gui-bar-item.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c
index 4f6d74264..2badd3c8d 100644
--- a/src/gui/gui-bar-item.c
+++ b/src/gui/gui-bar-item.c
@@ -1170,7 +1170,9 @@ gui_bar_item_default_buffer_nicklist_count (void *data,
if (!buffer || !buffer->nicklist)
return NULL;
- snprintf (str_count, sizeof (str_count), "%d",
+ snprintf (str_count, sizeof (str_count),
+ "%s%d",
+ gui_color_get_custom (gui_color_get_name (CONFIG_COLOR(config_color_status_nicklist_count))),
buffer->nicklist_visible_count);
return strdup (str_count);