From: Eric W. <war...@us...> - 2001-09-24 20:37:43
|
Update of /cvsroot/gaim/gaim/plugins In directory usw-pr-cvs1:/tmp/cvs-serv20159 Modified Files: chatlist.c Log Message: khromyy put in this patch Index: chatlist.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/chatlist.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- chatlist.c 2001/09/12 18:57:46 1.2 +++ chatlist.c 2001/09/24 20:37:41 1.3 @@ -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; |