diff -r 59b1c56633d1 -r dbaaa235297b pidgin/gtkblist.c --- a/pidgin/gtkblist.c Mon Dec 03 19:02:28 2007 +0000 +++ b/pidgin/gtkblist.c Mon Dec 03 21:26:54 2007 +0000 @@ -5715,11 +5715,11 @@ esc = g_markup_escape_text(group->name, -1); if (selected) - mark = g_strdup_printf("%s%s", esc, group_count); + mark = g_strdup_printf("%s%s", esc ? esc : "", group_count); else mark = g_strdup_printf("%s%s", textcolor.red>>8, textcolor.green>>8, textcolor.blue>>8, - esc, group_count); + esc ? esc : "", group_count); g_free(esc); return mark;