changeset 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 ba149ceb20b7
children edd78a0c6698
files console/gntplugin.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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);