# HG changeset patch # User Mikael Berthe # Date 1148728926 -7200 # Node ID c7ba6f41d056f8f06a2b4ff47b65dc9395e8e03c # Parent b38760d9ec2d786376636b5471c8cd719ecf09c8 Fix /buffer clear when the buffer is locked diff -r b38760d9ec2d -r c7ba6f41d056 mcabber/src/screen.c --- 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);