Mercurial > pidgin.yaz
diff src/savedstatuses.c @ 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 | d3232d64fafd |
children | f88f145884c0 |
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);