summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src/StartupStatus/startupstatus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-14 13:08:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-14 13:08:08 +0300
commit9b99466b95de4d2666911fd622ff2a5005367516 (patch)
tree3e919cb0ef832e0f0283d38774dae440608a7857 /plugins/StatusManager/src/StartupStatus/startupstatus.cpp
parent196e01a2ca9f8aefbd3ac55eedc955f56d3d6428 (diff)
StatusManager to use the common hLangpack variable instead of dealing with separate variables which refer to the same value anyway
Diffstat (limited to 'plugins/StatusManager/src/StartupStatus/startupstatus.cpp')
-rw-r--r--plugins/StatusManager/src/StartupStatus/startupstatus.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/StatusManager/src/StartupStatus/startupstatus.cpp b/plugins/StatusManager/src/StartupStatus/startupstatus.cpp
index 4004bc4623..ccfa0819a7 100644
--- a/plugins/StatusManager/src/StartupStatus/startupstatus.cpp
+++ b/plugins/StatusManager/src/StartupStatus/startupstatus.cpp
@@ -19,8 +19,6 @@
#include "..\stdafx.h"
-int hSSLangpack = 0;
-
static UINT_PTR setStatusTimerId = 0;
static TSettingsList startupSettings(10, SSCompareSettings);
@@ -483,9 +481,6 @@ static INT_PTR SrvGetProfile(WPARAM wParam, LPARAM lParam)
void StartupStatusLoad()
{
- MUUID muidLast = MIID_LAST;
- hSSLangpack = GetPluginLangId(muidLast, 0);
-
HookEvent(ME_SYSTEM_MODULESLOADED, SSModuleLoaded);
if (db_get_b(NULL, SSMODULENAME, SETTING_SETPROFILE, 1) ||
@@ -511,8 +506,5 @@ void StartupStatusLoad()
void StartupStatusUnload()
{
- KillModuleIcons(hSSLangpack);
- KillModuleMenus(hSSLangpack);
-
DeinitProfilesModule();
}