summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-main.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-04-23 17:23:17 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-04-23 17:23:17 +0200
commit70b0f12469560534fdb87b7c534495efb7079e69 (patch)
treec41bd9c9be9ffbaf536b9323be17d1fde96a32ce /src/gui/curses/gui-curses-main.c
parent909fe8a2b5a751dd6a30768609c535594a745a58 (diff)
downloadweechat-70b0f12469560534fdb87b7c534495efb7079e69.zip
core: add buffer to hotlist if away is set on buffer (even if buffer is displayed) (task #10948), do not update hotlist during upgrade
Diffstat (limited to 'src/gui/curses/gui-curses-main.c')
-rw-r--r--src/gui/curses/gui-curses-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c
index 550449f8c..bc91c32e1 100644
--- a/src/gui/curses/gui-curses-main.c
+++ b/src/gui/curses/gui-curses-main.c
@@ -127,6 +127,8 @@ gui_main_init ()
{
gui_init_ok = 1;
+ ptr_buffer->num_displayed = 1;
+
/* set title for core buffer */
gui_buffer_set_title (ptr_buffer,
"WeeChat " PACKAGE_VERSION " "