mcabber/src/screen.c
changeset 1137 5752017f6e2b
parent 1135 5d7c05932b13
child 1138 8ba4b1e8b42d
--- 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