Fix UTF-8 group names in the roster (Myhailo Danylenko)
Long names were truncated by snprintf, possibly at a wrong position.
--- a/mcabber/src/screen.c Sun Feb 18 11:03:49 2007 +0100
+++ b/mcabber/src/screen.c Thu Feb 22 22:10:19 2007 +0100
@@ -1287,9 +1287,9 @@
sep = "+++";
else
sep = "---";
- snprintf(rline, Roster_Width, " %c%s %s", pending, sep, name);
+ snprintf(rline, 4*Roster_Width, " %c%s %s", pending, sep, name);
} else if (isspe) {
- snprintf(rline, Roster_Width, " %c%s", pending, name);
+ snprintf(rline, 4*Roster_Width, " %c%s", pending, name);
} else {
char sepleft = '[';
char sepright = ']';