summaryrefslogtreecommitdiff
path: root/src/core/wee-upgrade.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-upgrade.c')
-rw-r--r--src/core/wee-upgrade.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/wee-upgrade.c b/src/core/wee-upgrade.c
index 51ff45ee0..a2fc242f5 100644
--- a/src/core/wee-upgrade.c
+++ b/src/core/wee-upgrade.c
@@ -491,8 +491,10 @@ upgrade_weechat_load ()
gui_hotlist_clear ();
if (upgrade_set_current_buffer)
+ {
gui_window_switch_to_buffer (gui_current_window,
- upgrade_set_current_buffer);
+ upgrade_set_current_buffer, 0);
+ }
return rc;
}