Mon, 24 Sep 2001 20:37:41 +0000
[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;