changeset 12781:ab65ade2e93f

[gaim-migrate @ 15128] Make primitives without messages show up as the primitive name instead of a blank name in the gtkstatusbox's popular status committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 09 Jan 2006 07:04:40 +0000
parents c886fc7e3f24
children 57d94c725dbc
files src/savedstatuses.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);