diff options
Diffstat (limited to 'plugins/OpenFolder/src')
-rw-r--r-- | plugins/OpenFolder/src/openFolder.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/OpenFolder/src/openFolder.cpp b/plugins/OpenFolder/src/openFolder.cpp index 9765e517a6..4bb1a12aa4 100644 --- a/plugins/OpenFolder/src/openFolder.cpp +++ b/plugins/OpenFolder/src/openFolder.cpp @@ -2,7 +2,7 @@ int hLangpack = 0;
HINSTANCE hInst;
-HANDLE hServiceOpenFolder, hButtonTopToolbar;
+HANDLE hButtonTopToolbar;
PLUGININFOEX pluginInfoEx =
{
@@ -79,7 +79,7 @@ extern "C" int __declspec(dllexport) Load() {
mir_getLP(&pluginInfoEx);
- hServiceOpenFolder = CreateServiceFunction(MS_OPENFOLDER_OPEN, MenuCommand_OpenFolder);
+ CreateServiceFunction(MS_OPENFOLDER_OPEN, MenuCommand_OpenFolder);
HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
@@ -112,6 +112,5 @@ extern "C" int __declspec(dllexport) Load() extern "C" int __declspec(dllexport) Unload()
{
- DestroyServiceFunction(hServiceOpenFolder);
return 0;
}
|