summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CountryFlags/src/main.cpp')
-rw-r--r--plugins/CountryFlags/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CountryFlags/src/main.cpp b/plugins/CountryFlags/src/main.cpp
index d72c9937d7..b68b14bd02 100644
--- a/plugins/CountryFlags/src/main.cpp
+++ b/plugins/CountryFlags/src/main.cpp
@@ -19,9 +19,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "flags.h"
-HINSTANCE hInst;
int nCountriesCount;
-struct CountryListEntry *countries;
+CountryListEntry *countries;
+
+HINSTANCE hInst;
int hLangpack;
static PLUGININFOEX pluginInfo={
@@ -59,14 +60,13 @@ extern "C" __declspec(dllexport) int Load(void)
InitIcons();
InitIpToCountry();
InitExtraImg();
+ LoadOptions();
return 0;
}
extern "C" __declspec(dllexport) int Unload(void)
{
KillBufferedFunctions();
- UninitExtraImg();
UninitIpToCountry();
- UninitIcons();
return 0;
}