[gaim-migrate @ 2369]

Mon, 24 Sep 2001 20:37:41 +0000

author
khromyy
date
Mon, 24 Sep 2001 20:37:41 +0000
changeset 2356
1a40a47dd54d
parent 2355
3bf7d403faa6
child 2357
fef27181f7e2

[gaim-migrate @ 2369]
khromyy put in this patch

committer: Eric Warmenhoven <warmenhoven@yahoo.com>

plugins/chatlist.c file | annotate | diff | comparison | revisions
--- a/plugins/chatlist.c	Mon Sep 24 19:32:57 2001 +0000
+++ b/plugins/chatlist.c	Mon Sep 24 20:37:41 2001 +0000
@@ -120,7 +120,7 @@
 	}
 	while (fgets(buf, 1024, f)) {
 		struct chat_room *cr = g_new0(struct chat_room, 1);
-		g_snprintf(cr->name, sizeof(cr->name), "%s", buf);
+		g_snprintf(cr->name, sizeof(cr->name), "%s", g_strchomp(buf));
 		if (!fgets(buf, 1024, f)) {
 			g_free(cr);
 			break;

mercurial