diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-01-03 14:41:14 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-01-03 14:41:14 +0100 |
commit | a341d809b265c56342b6c516b0cc4674a7a70d08 (patch) | |
tree | 0b5def9c7f19b373630826cef409c554bf9ae6df /src/core | |
parent | b38dfac5ee715dd4b7108eb38e1b1d11b7b478a3 (diff) | |
download | weechat-a341d809b265c56342b6c516b0cc4674a7a70d08.zip |
Fix crash when changing or removing color palette options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c index 6128b0dcb..79e9f541d 100644 --- a/src/core/wee-config.c +++ b/src/core/wee-config.c @@ -693,7 +693,7 @@ config_weechat_palette_change_cb (void *data, number = (int)strtol (option->name, &error, 10); if (error && !error[0]) { - gui_color_palette_change (number, CONFIG_STRING(option)); + gui_color_palette_add (number, CONFIG_STRING(option)); } } |