diff options
Diffstat (limited to 'plugins/Console')
-rw-r--r-- | plugins/Console/Console.c | 2 | ||||
-rw-r--r-- | plugins/Console/init.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Console/Console.c b/plugins/Console/Console.c index 9b09392877..96e56fa3b9 100644 --- a/plugins/Console/Console.c +++ b/plugins/Console/Console.c @@ -85,7 +85,6 @@ typedef struct { struct MM_INTERFACE mmi;
struct UTF8_INTERFACE utfi;
struct LIST_INTERFACE li;
-int hLangpack;
static SortedList lModules = {0};
@@ -1440,7 +1439,6 @@ void InitConsole() mir_getMMI(&mmi);
mir_getUTFI(&utfi);
mir_getLI(&li);
- mir_getLP(&pluginInfoEx);
lModules.sortFunc = stringCompare;
lModules.increment = 5;
diff --git a/plugins/Console/init.c b/plugins/Console/init.c index 56c1dd48ec..f52a8f3ae1 100644 --- a/plugins/Console/init.c +++ b/plugins/Console/init.c @@ -25,7 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. PLUGINLINK *pluginLink;
DWORD mirandaVer;
-
+int hLangpack;
PLUGININFOEX pluginInfoEx={
sizeof(PLUGININFOEX),
@@ -68,6 +68,7 @@ __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
+ mir_getLP(&pluginInfoEx);
if (mirandaVer < PLUGIN_MAKE_VERSION(0,8,0,3))
return -1;
|