From 86ff3f775c19e2df67457fd0b6fa582378a94818 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 15 Mar 2009 01:14:16 +0100 Subject: [PATCH] Add missing call to change callback when setting option with integer value, using a string --- src/core/wee-config-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;