diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-03-15 01:14:16 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-03-15 01:14:16 +0100 |
commit | 86ff3f775c19e2df67457fd0b6fa582378a94818 (patch) | |
tree | 6119bcbfbbce32c3dd865badc3914ae25cd8006d | |
parent | 4608b82e41351c153ff28b17eb39cbf6f288ac1f (diff) | |
download | weechat-86ff3f775c19e2df67457fd0b6fa582378a94818.zip |
Add missing call to change callback when setting option with integer value, using a string
-rw-r--r-- | src/core/wee-config-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index 1d8ef1aa5..b7644dd8f 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -1078,7 +1078,7 @@ config_file_option_set (struct t_config_option *option, const char *value, option->value = malloc (sizeof (int)); if (option->value) { - CONFIG_INTEGER(option) = 0; + CONFIG_INTEGER(option) = -1; if (option->string_values) { value_int = -1; |