diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-20 11:33:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-20 11:33:17 +0000 |
commit | e110389857a42787e6cd590369d5605c9bf5599f (patch) | |
tree | 27f1aa749830ff9016e02924fc4966c31509e671 | |
parent | 27c79d422f3f22c793d5a3c66ba5bd5bbed1f80f (diff) |
another strange perversion removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h | 2 | ||||
-rw-r--r-- | plugins/StatusPlugins/AdvancedAutoAway/main.cpp | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h b/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h index 984069e6a3..4a96da2544 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h +++ b/plugins/StatusPlugins/AdvancedAutoAway/advancedautoaway.h @@ -80,7 +80,7 @@ struct AAMSGSETTING char* msg;
};
-extern HINSTANCE hInst, hCore;
+extern HINSTANCE hInst;
int CompareSettings( const TAAAProtoSetting *p1, const TAAAProtoSetting *p2 );
diff --git a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp index ccc77eacb4..3488a7b2fc 100644 --- a/plugins/StatusPlugins/AdvancedAutoAway/main.cpp +++ b/plugins/StatusPlugins/AdvancedAutoAway/main.cpp @@ -24,7 +24,7 @@ #include "advancedautoaway.h"
#include "../resource.h"
-HINSTANCE hInst, hCore = NULL;
+HINSTANCE hInst;
CLIST_INTERFACE *pcli;
HANDLE hCSModuleLoadedHook;
@@ -38,10 +38,9 @@ int CSModuleLoaded(WPARAM wParam, LPARAM lParam); BOOL WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)
{
- if (fdwReason == DLL_PROCESS_ATTACH) {
+ if (fdwReason == DLL_PROCESS_ATTACH)
hInst = hinstDLL;
- hCore = GetModuleHandleA("mir_core.dll");
- }
+
return TRUE;
}
|