summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-10-30 15:07:00 +0200
committerSebastien Helleu <flashcode@flashtux.org>2010-10-30 15:07:00 +0200
commitfdc5fa1b14f27741b8242538a106622330769e85 (patch)
tree3062d665ad5c22ef2732358947325a5b716fafe5 /src/core
parent24fa337181a06266b23d7c9d15ade7a12ed7a510 (diff)
downloadweechat-fdc5fa1b14f27741b8242538a106622330769e85.zip
Fix bug with default value in config option infolist
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-config-file.c2
1 files changed, 1 insertions, 1 deletions
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",