Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
22935:d464485a2bfc | 22936:5a359f6666c2 |
---|---|
2714 /* I don't believe this can happen currently, I think | 2714 /* I don't believe this can happen currently, I think |
2715 * everything that calls this function checks for one of the | 2715 * everything that calls this function checks for one of the |
2716 * above node types first. */ | 2716 * above node types first. */ |
2717 tmp = g_strdup(_("Unknown node type")); | 2717 tmp = g_strdup(_("Unknown node type")); |
2718 } | 2718 } |
2719 node_name = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>", tmp); | 2719 node_name = g_strdup_printf("<span size='x-large' weight='bold'>%s</span>", |
2720 tmp ? tmp : ""); | |
2720 g_free(tmp); | 2721 g_free(tmp); |
2721 | 2722 |
2722 td->name_layout = create_pango_layout(node_name, &td->name_width, &td->name_height); | 2723 td->name_layout = create_pango_layout(node_name, &td->name_width, &td->name_height); |
2723 td->name_width += SMALL_SPACE + PRPL_SIZE; | 2724 td->name_width += SMALL_SPACE + PRPL_SIZE; |
2724 td->name_height = MAX(td->name_height, PRPL_SIZE + SMALL_SPACE); | 2725 td->name_height = MAX(td->name_height, PRPL_SIZE + SMALL_SPACE); |