Mercurial > pidgin
changeset 12696:18e619ed4eaf
[gaim-migrate @ 15039]
just guessing, but I think this is right
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 03 Jan 2006 13:55:42 +0000 |
parents | 0bc110c7ab91 |
children | 9c2a4e327718 |
files | src/plugin.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.