Mercurial > pidgin.yaz
diff pidgin/gtkblist.c @ 22936:5a359f6666c2
Fix a NULL printf. Fixes #5387.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 14 May 2008 02:21:25 +0000 |
parents | b4a0f4b32ba5 |
children | 8ac3ffa6841e 7b8f5dd30a82 |
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);