diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-23 18:40:49 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-06-23 18:40:49 +0200 |
commit | 89b7a826c55454e8f2fb7ad8ecbbcf914275079c (patch) | |
tree | b4ff9a7f0a892eb328ecda3e9e40fc4c2e441324 /src | |
parent | 1b47fdcc4ee185212a125ee9964ee6e54d887a29 (diff) | |
download | weechat-89b7a826c55454e8f2fb7ad8ecbbcf914275079c.zip |
Fix display of description when it is NULL (with /help option)
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 51f833ee9..23640f9e7 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -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: |