diff src/buddy.c @ 2824:2c39e70dd07c

[gaim-migrate @ 2837] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 01 Dec 2001 02:14:47 +0000
parents feea7103a235
children b1e300a85678
line wrap: on
line diff
--- a/src/buddy.c	Sat Dec 01 01:48:26 2001 +0000
+++ b/src/buddy.c	Sat Dec 01 02:14:47 2001 +0000
@@ -246,6 +246,9 @@
 	GtkCTreeNode *c;
 	char buf[256];
 
+	if (!strcmp(b->show, prevname))
+		g_snprintf(b->show, sizeof(b->show), "%s", b->name);
+
 	/* well you shouldn't be calling this if nothing changed. duh. */
 	do_export(b->gc);