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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user