From fdc5fa1b14f27741b8242538a106622330769e85 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 30 Oct 2010 15:07:00 +0200 Subject: Fix bug with default value in config option infolist --- src/core/wee-config-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index e7e9c26f6..4d01748b7 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -2818,7 +2818,7 @@ config_file_add_to_infolist (struct t_infolist *infolist, return 0; } } - if (ptr_option->value) + if (ptr_option->default_value) { if (!infolist_new_var_string (ptr_item, "default_value", -- cgit v1.2.3