changeset 878:c7ba6f41d056

Fix /buffer clear when the buffer is locked
author Mikael Berthe <mikael@lilotux.net>
date Sat, 27 May 2006 13:22:06 +0200
parents b38760d9ec2d
children 5f43b532cc37
files mcabber/src/screen.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/screen.c	Sat May 27 12:51:19 2006 +0200
+++ b/mcabber/src/screen.c	Sat May 27 13:22:06 2006 +0200
@@ -690,7 +690,7 @@
   }
 
   // The message must be displayed -> update top pointer
-  if (!win_entry->lock && win_entry->cleared)
+  if (win_entry->cleared)
     win_entry->top = g_list_last(win_entry->hbuf);
 
   text_locale = from_utf8(text);
@@ -698,7 +698,7 @@
                 maxX - Roster_Width - PREFIX_WIDTH);
   g_free(text_locale);
 
-  if (!win_entry->lock && win_entry->cleared) {
+  if (win_entry->cleared) {
     win_entry->cleared = FALSE;
     if (g_list_next(win_entry->top))
       win_entry->top = g_list_next(win_entry->top);