# HG changeset patch # User Daniel Atallah # Date 1210731685 0 # Node ID 5a359f6666c27e0239e865c42cefb9db66a29bbe # Parent d464485a2bfc67b7b4d1d1a4c13ba81246f99fcc Fix a NULL printf. Fixes #5387. diff -r d464485a2bfc -r 5a359f6666c2 pidgin/gtkblist.c --- 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("%s", tmp); + node_name = g_strdup_printf("%s", + tmp ? tmp : ""); g_free(tmp); td->name_layout = create_pango_layout(node_name, &td->name_width, &td->name_height);