1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

fset: fix color of default value when it is different from NULL

This commit is contained in:
Sébastien Helleu
2017-05-30 21:02:20 +02:00
parent 7df98862d6
commit ef19c4ed90
+1 -1
View File
@@ -144,7 +144,7 @@ fset_buffer_display_line (int y, struct t_fset_option *fset_option)
if (default_value_undef)
ptr_option_color_value = fset_config_color_value_undef[selected_line];
else
ptr_option_color_value = fset_config_color_value[selected_line];
ptr_option_color_value = fset_config_color_default_value[selected_line];
snprintf (str_field, sizeof (str_field),
"%s", (ptr_field) ? ptr_field : FSET_OPTION_VALUE_NULL);
weechat_hashtable_set (fset_buffer_hashtable_extra_vars,