changeset 2642:b6cf22276d4b

[gaim-migrate @ 2655] "Don't Panic!" committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 31 Oct 2001 18:52:40 +0000
parents 671c3a6a2c12
children df64d7ca0e03
files src/dialogs.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Wed Oct 31 10:35:16 2001 +0000
+++ b/src/dialogs.c	Wed Oct 31 18:52:40 2001 +0000
@@ -3434,6 +3434,9 @@
 			/* take off the \n */
 			buf[strlen(buf) - 1] = '\0';
 
+		/* don't lose the thirtieth line of conversation. thanks FeRD */
+		g_string_append(string, buf);
+
 		if (i == 30) {
 			gtk_imhtml_append_text(GTK_IMHTML(view->layout), string->str, view->options);
 			g_string_free(string, TRUE);
@@ -3444,8 +3447,6 @@
 				gtk_main_iteration();
 			*/
 			i = 0;
-		} else {
-			g_string_append(string, buf);
 		}
 
 	}