[gaim-migrate @ 15128]

Mon, 09 Jan 2006 07:04:40 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 09 Jan 2006 07:04:40 +0000
changeset 12781
2fda73c527c8
parent 12780
09514852c086
child 12782
b6f0819de992

[gaim-migrate @ 15128]
Make primitives without messages show up as the primitive name instead
of a blank name in the gtkstatusbox's popular status

src/savedstatuses.c file | annotate | diff | comparison | revisions
--- a/src/savedstatuses.c	Mon Jan 09 06:45:16 2006 +0000
+++ b/src/savedstatuses.c	Mon Jan 09 07:04:40 2006 +0000
@@ -797,7 +797,7 @@
 	/* Otherwise, this is a transient status and we make up a title on the fly */
 	message = gaim_savedstatus_get_message(saved_status);
 
-	if (message == NULL)
+	if ((message == NULL) || (*message == '\0'))
 	{
 		GaimStatusPrimitive primitive;
 		primitive = gaim_savedstatus_get_type(saved_status);

mercurial