changeset 21848:8a52e4cf64c5

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
author Sean Egan <seanegan@gmail.com>
date Tue, 18 Dec 2007 00:59:59 +0000
parents 378eb1893499
children 54e1f0e024d2 214da49fdcd4
files pidgin/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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));