# HG changeset patch # User Nathan Walp # Date 1048802211 0 # Node ID 347070472ed6fbe70842c21370bbb2d49829b097 # Parent bd37db7531e4ae1a4646db644db00cf422f04c24 [gaim-migrate @ 5231] don't let %n and %s in a screenname screw things up committer: Tailor Script diff -r bd37db7531e4 -r 347070472ed6 src/util.c --- a/src/util.c Thu Mar 27 21:41:21 2003 +0000 +++ b/src/util.c Thu Mar 27 21:56:51 2003 +0000 @@ -539,7 +539,7 @@ buf[i] = '\0'; tmp = g_utf8_strdown(buf, -1); - g_snprintf(buf, sizeof(buf), tmp); + g_snprintf(buf, sizeof(buf), "%s", tmp); g_free(tmp); return buf;