changeset 1137:5752017f6e2b

Fix a bug in /buffer close
author Mikael Berthe <mikael@lilotux.net>
date Sat, 03 Feb 2007 20:45:37 +0100
parents 73820cf499a4
children 8ba4b1e8b42d
files mcabber/src/screen.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/screen.c	Sat Feb 03 20:14:34 2007 +0100
+++ b/mcabber/src/screen.c	Sat Feb 03 20:45:37 2007 +0100
@@ -1780,6 +1780,7 @@
   if (closebuf && !isspe) {
     scr_set_chatmode(FALSE);
     g_hash_table_remove(winbufhash, CURRENT_JID);
+    currentWindow = NULL;
   }
 
   // Refresh the window