summaryrefslogtreecommitdiff
path: root/plugins/CountryFlags/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CountryFlags/main.c')
-rw-r--r--plugins/CountryFlags/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CountryFlags/main.c b/plugins/CountryFlags/main.c
index 2da90447c2..d4b90acc6f 100644
--- a/plugins/CountryFlags/main.c
+++ b/plugins/CountryFlags/main.c
@@ -25,6 +25,7 @@ PLUGINLINK *pluginLink;
struct MM_INTERFACE mmi;
int nCountriesCount;
struct CountryListEntry *countries;
+int hLangpack;
static PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -120,6 +121,7 @@ __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
__declspec(dllexport) int Load(PLUGINLINK *link)
{
pluginLink=link;
+ mir_getLP(&pluginInfoEx);
/* existance of MS_SYSTEM_GETVERSION and MS_LANGPACK_TRANSLATESTRING
* is checked in MirandaPluginInfo().