mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
Fix bug when changing options look.set_title and look.save_on_exit (bug #24350)
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user