Mercurial > pidgin
changeset 22934:5a359f6666c2
Fix a NULL printf. Fixes #5387.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 14 May 2008 02:21:25 +0000 |
parents | d464485a2bfc |
children | 4798de46bf4a c0a8dbe36ffe |
files | pidgin/gtkblist.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Wed May 14 01:57:45 2008 +0000 +++ b/pidgin/gtkblist.c Wed May 14 02:21:25 2008 +0000 @@ -2716,7 +2716,8 @@ * above node types first. */ tmp = g_strdup(_("Unknown node type")); } - node_name = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>", tmp); + node_name = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>", + tmp ? tmp : ""); g_free(tmp); td->name_layout = create_pango_layout(node_name, &td->name_width, &td->name_height);