Mercurial > pidgin.yaz
diff console/gntplugin.c @ 15042:3d87d9b7491c
[gaim-migrate @ 17824]
Don't crash on null websites nor nothing else.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 26 Nov 2006 22:29:21 +0000 |
parents | 81650a27f253 |
children | 7d6bd7a4994f |
line wrap: on
line diff
--- a/console/gntplugin.c Sun Nov 26 22:03:23 2006 +0000 +++ b/console/gntplugin.c Sun Nov 26 22:29:21 2006 +0000 @@ -115,8 +115,8 @@ /* XXX: Use formatting and stuff */ gnt_text_view_clear(GNT_TEXT_VIEW(plugins.aboot)); text = g_strdup_printf(_("Name: %s\nVersion: %s\nDescription: %s\nAuthor: %s\nWebsite: %s\nFilename: %s\n"), - plugin->info->name, plugin->info->version, plugin->info->description, - plugin->info->author, plugin->info->homepage, plugin->path); + SAFE(plugin->info->name), SAFE(plugin->info->version), SAFE(plugin->info->description), + SAFE(plugin->info->author), SAFE(plugin->info->homepage), SAFE(plugin->path)); gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(plugins.aboot), text, GNT_TEXT_FLAG_NORMAL); gnt_text_view_scroll(GNT_TEXT_VIEW(plugins.aboot), 0);