diff src/dialogs.c @ 6244:519028f52516

[gaim-migrate @ 6738] Bjoern Voigt writes: "I prepared a new i18n patch (i18n14.patch). Parts of this patch I already send to you, but I couldn't see it in gaim-commits. I recently subscribed gaim-commits, so it's easier for me to see, whether or not and when my patch is commited. i18n14.patch contains: - updated German translation - updated file po/POTFILES.in - a fix for gaim's history dialog (the timestamps were temporarily not visible)" committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sun, 20 Jul 2003 14:11:43 +0000
parents a22c151463e1
children dd2be7cd66df
line wrap: on
line diff
--- a/src/dialogs.c	Sun Jul 20 07:35:32 2003 +0000
+++ b/src/dialogs.c	Sun Jul 20 14:11:43 2003 +0000
@@ -3989,7 +3989,7 @@
 		gtk_main_iteration();
 	*/
 
-	while (fgets(buf, BUF_LONG, fp) && !strstr(buf, "---- New C")) {
+	while (fgets(buf, BUF_LONG, fp) && strncmp(buf, "---- ", 5)!=0) {
 		i++;
 		if (strlen(buf) >= 5 && (!strncmp(buf + strlen(buf) - 5, "<BR>\n", 5)))
 			/* take off the \n */
@@ -4166,7 +4166,7 @@
 		gtk_box_pack_start(GTK_BOX(hbox), frame, TRUE, TRUE, 0);
 
 		while (fgets(buf, BUF_LONG, fp)) {
-			if (strstr(buf, "---- New C")) {
+			if (strncmp(buf, "---- ", 5)==0) {
 				int length;
 				char *temp = strchr(buf, '@');
 				GtkTreeIter iter;