summaryrefslogtreecommitdiff
path: root/src/plugins/fset/fset-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fset/fset-option.c')
-rw-r--r--src/plugins/fset/fset-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c
index 14c73df63..d09e84e06 100644
--- a/src/plugins/fset/fset-option.c
+++ b/src/plugins/fset/fset-option.c
@@ -379,7 +379,8 @@ fset_option_set_values (struct t_fset_option *fset_option,
fset_option->description = NULL;
}
ptr_description = weechat_config_option_get_string (option, "description");
- fset_option->description = strdup ((ptr_description) ? ptr_description : "");
+ fset_option->description = strdup (
+ (ptr_description && ptr_description[0]) ? _(ptr_description) : "");
/* string_values */
if (fset_option->string_values)