Mercurial > pidgin
comparison src/dialogs.c @ 1736:4f3448b3c8f8
[gaim-migrate @ 1746]
bah
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 21 Apr 2001 01:25:30 +0000 |
| parents | e5ba877f51f2 |
| children | 2eec724fdbcd |
comparison
equal
deleted
inserted
replaced
| 1735:00f74db70f2d | 1736:4f3448b3c8f8 |
|---|---|
| 3746 | 3746 |
| 3747 while (fgets (buf, BUF_LONG, fp)) { | 3747 while (fgets (buf, BUF_LONG, fp)) { |
| 3748 if (strlen (buf) >= 5 && (!strncmp (buf+strlen(buf)-5, "<BR>\n", 5))) | 3748 if (strlen (buf) >= 5 && (!strncmp (buf+strlen(buf)-5, "<BR>\n", 5))) |
| 3749 /* take off the \n */ | 3749 /* take off the \n */ |
| 3750 buf[strlen(buf)-1] = '\0'; | 3750 buf[strlen(buf)-1] = '\0'; |
| 3751 if (strlen (buf) >= 21 && strstr (buf, "---- New C")) { | 3751 if (!name || (strlen (buf) >= 21 && strstr (buf, "---- New C"))) { |
| 3752 gtk_imhtml_append_text (GTK_IMHTML(layout), string->str, options); | 3752 gtk_imhtml_append_text (GTK_IMHTML(layout), string->str, options); |
| 3753 g_string_free (string, TRUE); | 3753 g_string_free (string, TRUE); |
| 3754 string = g_string_new (buf); | 3754 string = g_string_new (buf); |
| 3755 } else { | 3755 } else { |
| 3756 string = g_string_append (string, buf); | 3756 string = g_string_append (string, buf); |
