Tue, 03 Jan 2006 13:55:42 +0000
[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.