From: <sa...@us...> - 2006-11-26 22:29:22
|
Revision: 17824 http://svn.sourceforge.net/gaim/?rev=17824&view=rev Author: sadrul Date: 2006-11-26 14:29:21 -0800 (Sun, 26 Nov 2006) Log Message: ----------- Don't crash on null websites nor nothing else. Modified Paths: -------------- trunk/console/gntplugin.c Modified: trunk/console/gntplugin.c =================================================================== --- trunk/console/gntplugin.c 2006-11-26 22:03:23 UTC (rev 17823) +++ trunk/console/gntplugin.c 2006-11-26 22:29:21 UTC (rev 17824) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |