diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-10-30 15:07:00 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-10-30 15:07:00 +0200 |
commit | fdc5fa1b14f27741b8242538a106622330769e85 (patch) | |
tree | 3062d665ad5c22ef2732358947325a5b716fafe5 /src | |
parent | 24fa337181a06266b23d7c9d15ade7a12ed7a510 (diff) | |
download | weechat-fdc5fa1b14f27741b8242538a106622330769e85.zip |
Fix bug with default value in config option infolist
Diffstat (limited to 'src')
-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 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", |