1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

Fix display of description when it is NULL (with /help option)

This commit is contained in:
Sebastien Helleu
2009-06-23 18:40:49 +02:00
parent 1b47fdcc4e
commit 89b7a826c5
+1 -1
View File
@@ -1490,7 +1490,7 @@ command_help (void *data, struct t_gui_buffer *buffer,
GUI_COLOR(GUI_COLOR_CHAT));
gui_chat_printf (NULL, " %s: %s",
_("description"),
_(ptr_option->description));
(ptr_option->description) ? _(ptr_option->description) : "");
switch (ptr_option->type)
{
case CONFIG_OPTION_TYPE_BOOLEAN: