diff options
Diffstat (limited to 'plugins/Popup')
-rw-r--r-- | plugins/Popup/src/config.cpp | 2 | ||||
-rw-r--r-- | plugins/Popup/src/config.h | 1 | ||||
-rw-r--r-- | plugins/Popup/src/main.cpp | 4 |
3 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Popup/src/config.cpp b/plugins/Popup/src/config.cpp index 7fecae0141..dd3c683c13 100644 --- a/plugins/Popup/src/config.cpp +++ b/plugins/Popup/src/config.cpp @@ -36,7 +36,7 @@ Last change by : $Author: Merlin_de $ HINSTANCE hInst;
HANDLE hMainThread;
//MNOTIFYLINK *notifyLink; //deprecatet
-PLUGINLINK *pluginLink;
+
HANDLE hSemaphore;
BOOL closing = FALSE;
MTEXT_INTERFACE MText = {0};
diff --git a/plugins/Popup/src/config.h b/plugins/Popup/src/config.h index 2f6a25d33e..315cf7f4e3 100644 --- a/plugins/Popup/src/config.h +++ b/plugins/Popup/src/config.h @@ -144,7 +144,6 @@ void LoadOptions(); //===== General Plugin =====
extern HINSTANCE hInst;
extern HANDLE hMainThread;
-extern PLUGINLINK *pluginLink;
extern HANDLE hSemaphore;
extern BOOL closing;
extern HANDLE folderId;
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index acd94f3cdc..0e7218ed4e 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -489,10 +489,10 @@ static int OkToExit(WPARAM wParam, LPARAM lParam) //===== Load =====
//Initializes the services provided and the link to those needed
//Called when the plugin is loaded into Miranda
-MIRAPI int Load(PLUGINLINK *link)
+MIRAPI int Load(void)
{
char ver[1024];
- pluginLink=link;
+
g_popup.isOsUnicode = (GetVersion() & 0x80000000) == 0;
|