I noticed that the new added padding in gtkconv has the same effect as an extra line of text, so I'm removing the MAX(2 bit

Tue, 18 Dec 2007 00:59:59 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Tue, 18 Dec 2007 00:59:59 +0000
changeset 21963
bba34dfb2416
parent 21962
edb50463b387
child 21968
0c7ec2fe53c5
child 21970
510592f58799

I noticed that the new added padding in gtkconv has the same effect as an extra line of text, so I'm removing the MAX(2 bit

pidgin/gtkconv.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkconv.c	Mon Dec 17 12:10:55 2007 +0000
+++ b/pidgin/gtkconv.c	Tue Dec 18 00:59:59 2007 +0000
@@ -4342,8 +4342,8 @@
 
 	lines = gtk_text_buffer_get_line_count(buffer);
 
-	/* Show a maximum of 4 lines, minimum of 2 */
-	lines = MIN(MAX(lines, 2), 4);
+	/* Show a maximum of 4 lines */
+	lines = MIN(lines, 4);
 	wrapped_lines = MIN(MAX(wrapped_lines, 2), 4);
 
 	pad_top = gtk_text_view_get_pixels_above_lines(GTK_TEXT_VIEW(gtkconv->entry));

mercurial