summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-12 13:55:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-12 13:55:58 +0000
commit0516812f7ae347ddc83354db3dc64626999ae679 (patch)
tree320ffa458d3d6cc7909350a4d7a80b47f582bf06 /plugins/CountryFlags/src/main.cpp
parentfcd4450462a660eb904c0fc07ff82665dd35b076 (diff)
- no more "unknown" flags in the extra column;
- options extracted to the separate file; - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@4432 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}