summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--useactions/UseActions.c2
-rw-r--r--useactions/common.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/useactions/UseActions.c b/useactions/UseActions.c
index 9824a88..71e4371 100644
--- a/useactions/UseActions.c
+++ b/useactions/UseActions.c
@@ -9,6 +9,7 @@
struct LIST_INTERFACE li = { 0 };
struct MM_INTERFACE mmi;
+int hLangpack;
SortedList ActionItemsList = {0};
TCHAR tszMyPath[MAX_PATH];
@@ -112,6 +113,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) {
__declspec (dllexport) int Load(PLUGINLINK *link) {
pluginLink = link;
+ mir_getLP(&pluginInfo);
mir_getLI(&li);
mir_getMMI( &mmi );
ActionItemsList = *(li.List_Create( 0, 1));
diff --git a/useactions/common.h b/useactions/common.h
index f44ebd0..6b5da27 100644
--- a/useactions/common.h
+++ b/useactions/common.h
@@ -25,9 +25,8 @@
#define _UNICODE
#endif
-#ifndef MIRANDA_VER
- #define MIRANDA_VER 0x0700
-#endif
+#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
#include <tchar.h>