mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
Fix display bug with description of option in /help option if description is empty
This commit is contained in:
@@ -1573,7 +1573,8 @@ 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 && ptr_option->description[0]) ?
|
||||
_(ptr_option->description) : "");
|
||||
switch (ptr_option->type)
|
||||
{
|
||||
case CONFIG_OPTION_TYPE_BOOLEAN:
|
||||
|
||||
Reference in New Issue
Block a user