[gaim-migrate @ 15039]

Tue, 03 Jan 2006 13:55:42 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Tue, 03 Jan 2006 13:55:42 +0000
changeset 12696
6c964da4a652
parent 12695
0c93a42b7ee2
child 12697
9f715f21702d

[gaim-migrate @ 15039]
just guessing, but I think this is right

src/plugin.c file | annotate | diff | comparison | revisions
--- a/src/plugin.c	Tue Jan 03 12:03:02 2006 +0000
+++ b/src/plugin.c	Tue Jan 03 13:55:42 2006 +0000
@@ -238,12 +238,13 @@
 
 	plugin = gaim_plugin_new(has_file_extension(filename, G_MODULE_SUFFIX), filename);
 
-	if (plugin->native_plugin) {
-		const char *error;
 #ifdef _WIN32
 		/* Suppress error popups for failing to load plugins */
 		UINT old_error_mode = SetErrorMode(SEM_FAILCRITICALERRORS);
 #endif
+
+	if (plugin->native_plugin) {
+		const char *error;
 		/*
 		 * We pass G_MODULE_BIND_LOCAL here to prevent symbols from
 		 * plugins being added to the global name space.

mercurial