diff src/buddy.c @ 1881:a02584b98823

[gaim-migrate @ 1891] C:) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 23 May 2001 07:59:05 +0000
parents b8245bcce7e6
children 73d73939f698
line wrap: on
line diff
--- a/src/buddy.c	Tue May 22 23:23:28 2001 +0000
+++ b/src/buddy.c	Wed May 23 07:59:05 2001 +0000
@@ -2971,7 +2971,8 @@
 		while (mem) {
 			b = (struct buddy *)mem->data;
 			pos += g_snprintf(&s[pos], len - pos, "b %s%s%s\n", b->name,
-					  show ? ":" : "", show ? b->show : "");
+					  (show && strcmp(b->name, b->show)) ? ":" : "",
+					  (show && strcmp(b->name, b->show)) ? b->show : "");
 			mem = mem->next;
 		}
 		grp = g_slist_next(grp);