# HG changeset patch # User Nathan Walp # Date 1136296542 0 # Node ID 18e619ed4eaf1c16bde918d51fdad11116a161bc # Parent 0bc110c7ab91ab92b128065d9b88bd6ac22862a8 [gaim-migrate @ 15039] just guessing, but I think this is right committer: Tailor Script diff -r 0bc110c7ab91 -r 18e619ed4eaf src/plugin.c --- 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.