summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-01-03 14:41:14 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-01-03 14:41:14 +0100
commita341d809b265c56342b6c516b0cc4674a7a70d08 (patch)
tree0b5def9c7f19b373630826cef409c554bf9ae6df /src/core
parentb38dfac5ee715dd4b7108eb38e1b1d11b7b478a3 (diff)
downloadweechat-a341d809b265c56342b6c516b0cc4674a7a70d08.zip
Fix crash when changing or removing color palette options
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config.c2
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));
}
}