summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-09-23 07:50:56 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-09-23 07:50:56 +0200
commit1b11f7eb672c4c185b872e9772c1a72002a3656f (patch)
treeea4e5379bcdd87fbf16771016b4085dae723f84c
parentf67daef91408e4104ce219e2b823da556e2e1df8 (diff)
downloadweechat-1b11f7eb672c4c185b872e9772c1a72002a3656f.zip
Fix bug when changing options look.set_title and look.save_on_exit (bug #24350)
-rw-r--r--src/core/wee-config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-config.c b/src/core/wee-config.c
index 9df8e43ce..cb664a53e 100644
--- a/src/core/wee-config.c
+++ b/src/core/wee-config.c
@@ -205,7 +205,7 @@ config_change_save_on_exit (void *data, struct t_config_option *option)
(void) data;
(void) option;
- if (!config_look_save_on_exit)
+ if (!CONFIG_BOOLEAN(config_look_save_on_exit))
{
gui_chat_printf (NULL,
_("Warning: you should now issue /save to write "
@@ -224,7 +224,7 @@ config_change_title (void *data, struct t_config_option *option)
(void) data;
(void) option;
- if (config_look_set_title)
+ if (CONFIG_BOOLEAN(config_look_set_title))
gui_window_title_set ();
else
gui_window_title_reset ();