1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 22:36:38 +02:00

core: fix display of item buffer_short_name when the short name is not defined in buffer

This commit is contained in:
Sébastien Helleu
2014-05-18 17:39:22 +02:00
parent b1430131a7
commit 91a88eb224
+1 -1
View File
@@ -1088,7 +1088,7 @@ gui_bar_item_default_buffer_short_name (void *data,
snprintf (str_short_name, sizeof (str_short_name), "%s%s",
gui_color_get_custom (
gui_color_get_name (CONFIG_COLOR(config_color_status_name))),
buffer->short_name);
gui_buffer_get_short_name (buffer));
return strdup (str_short_name);
}