diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-27 14:57:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-27 14:57:51 +0300 |
commit | 9ec3c7e78e560356066b272ad7a38d3d333de1b5 (patch) | |
tree | e72efa33a5af633cc83503efd31bdbc17ebf781e /plugins/StatusManager | |
parent | 66ab99eb5b5c47a01e1cc6613af07426abbeb19b (diff) |
global variable name standardization
Diffstat (limited to 'plugins/StatusManager')
-rw-r--r-- | plugins/StatusManager/src/StartupStatus/startupstatus.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/StatusManager/src/StartupStatus/startupstatus.cpp b/plugins/StatusManager/src/StartupStatus/startupstatus.cpp index 7f4463a93e..4f3a487bb2 100644 --- a/plugins/StatusManager/src/StartupStatus/startupstatus.cpp +++ b/plugins/StatusManager/src/StartupStatus/startupstatus.cpp @@ -268,13 +268,13 @@ static int OnShutdown(WPARAM, LPARAM) // set windowstate and docked for next startup if (db_get_b(0, SSMODULENAME, SETTING_SETWINSTATE, 0)) { int state = db_get_b(0, SSMODULENAME, SETTING_WINSTATE, SETTING_STATE_NORMAL); - HWND hClist = g_CLI.hwndContactList; + HWND hClist = g_clistApi.hwndContactList; BOOL isHidden = !IsWindowVisible(hClist); switch (state) { case SETTING_STATE_HIDDEN: // try to use services where possible if (!isHidden) - g_CLI.pfnShowHide(); + g_clistApi.pfnShowHide(); break; case SETTING_STATE_MINIMIZED: @@ -285,7 +285,7 @@ static int OnShutdown(WPARAM, LPARAM) case SETTING_STATE_NORMAL: // try to use services where possible (that's what they're for) if (isHidden) - g_CLI.pfnShowHide(); + g_clistApi.pfnShowHide(); break; } } @@ -366,7 +366,7 @@ int SSModuleLoaded(WPARAM, LPARAM) // win size and location if (db_get_b(0, SSMODULENAME, SETTING_SETWINLOCATION, 0) || db_get_b(0, SSMODULENAME, SETTING_SETWINSIZE, 0)) { - HWND hClist = g_CLI.hwndContactList; + HWND hClist = g_clistApi.hwndContactList; // store in db if (db_get_b(0, SSMODULENAME, SETTING_SETWINLOCATION, 0)) { |