# HG changeset patch # User Mark Doliner # Date 1233137216 0 # Node ID 1442c0a5483180e4ddefc909d01f7ac8ffb4bac2 # Parent 4c610616e0189e6fd0e4adba532d5f2a41ae7467 Increment display_lines here so that, for fonts where pixels_inside_wrap() set a value greater than 0, it won't cause a few extra pixels to be added to the height when the user starts typing diff -r 4c610616e018 -r 1442c0a54831 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);