summaryrefslogtreecommitdiff
path: root/plugins/OpenFolder/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-18 18:33:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-18 18:33:09 +0300
commit3e9e96f6718b13c069138fb40f24f065ac03c6b7 (patch)
treed09301e8d63cf2bc70601fe683992440d4e2e086 /plugins/OpenFolder/src
parentb5de62080a2384e9f66d7bafbf971aa5b4b7c0c1 (diff)
unneeded calls of DestroyServiceFunction() removed
Diffstat (limited to 'plugins/OpenFolder/src')
-rw-r--r--plugins/OpenFolder/src/openFolder.cpp5
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;
}