diff -r e00c2d18aad0 -r 7a2258038ceb pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Wed Jan 28 09:59:55 2009 +0000 +++ b/pidgin/gtkstatusbox.c Wed Jan 28 10:06:56 2009 +0000 @@ -2568,6 +2568,7 @@ { gtk_text_view_get_iter_location(GTK_TEXT_VIEW(status_box->imhtml), &iter, &oneline); height += oneline.height; + display_lines++; } lines = gtk_text_buffer_get_line_count(buffer);