diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 21:25:08 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-18 21:25:08 +0000 |
commit | 5e4ecb158a9835d79536326835287d49f22d65f1 (patch) | |
tree | f2ebb66a27170f790fbd7893d81b07f7fb0ea723 /plugins/Console | |
parent | 6dfdccb3decd016ced438309d326547e5244604e (diff) |
compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@56 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
|