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/BuddyExpectator | |
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/BuddyExpectator')
-rw-r--r-- | plugins/BuddyExpectator/BuddyExpectator.cpp | 4 | ||||
-rw-r--r-- | plugins/BuddyExpectator/common.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/plugins/BuddyExpectator/BuddyExpectator.cpp b/plugins/BuddyExpectator/BuddyExpectator.cpp index a3f833d8c7..89c7d7af94 100644 --- a/plugins/BuddyExpectator/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/BuddyExpectator.cpp @@ -30,6 +30,7 @@ HINSTANCE hInst;
PLUGINLINK *pluginLink;
int hLangpack;
+struct MM_INTERFACE mmi;
DWORD timer_id = 0;
@@ -927,7 +928,8 @@ int onSystemOKToExit(WPARAM wParam,LPARAM lParam) extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
- mir_getLP(&pluginInfoEx);
+ mir_getLP(&pluginInfo);
+ mir_getMMI(&mmi);
setlocale(LC_ALL, "English"); // Set English locale
diff --git a/plugins/BuddyExpectator/common.h b/plugins/BuddyExpectator/common.h index 6398727f08..2794b9e91f 100644 --- a/plugins/BuddyExpectator/common.h +++ b/plugins/BuddyExpectator/common.h @@ -26,6 +26,7 @@ #ifndef _COMMON_INC
#define _COMMON_INC
+#define MIRANDA_VER 0x0A00
#include <stddef.h> // needed by m_icolib.h > r9256
#include <windows.h>
|