From 9ec3c7e78e560356066b272ad7a38d3d333de1b5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2018 14:57:51 +0300 Subject: global variable name standardization --- plugins/AutoShutdown/src/frame.cpp | 4 ++-- plugins/AutoShutdown/src/shutdownsvc.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/AutoShutdown/src') diff --git a/plugins/AutoShutdown/src/frame.cpp b/plugins/AutoShutdown/src/frame.cpp index 78b11eb92d..c27c96c3fe 100644 --- a/plugins/AutoShutdown/src/frame.cpp +++ b/plugins/AutoShutdown/src/frame.cpp @@ -487,7 +487,7 @@ void ShowCountdownFrame(WORD fTimeFlags) 0, 0, GetSystemMetrics(SM_CXICON) + 103, GetSystemMetrics(SM_CYICON) + 2, - g_CLI.hwndContactList, + g_clistApi.hwndContactList, nullptr, g_plugin.getInst(), &fTimeFlags); @@ -509,7 +509,7 @@ void ShowCountdownFrame(WORD fTimeFlags) /* HACKS TO FIX CLUI FRAMES: * *** why is CLUIFrames is horribly buggy??! *** date: sept 2005, nothing changed until sept 2006 * workaround #1: MS_CLIST_FRAMES_REMOVEFRAME does not finish with destroy cycle (clist_modern, clist_nicer crashes) */ - SendMessage(g_CLI.hwndContactList, WM_SIZE, 0, 0); + SendMessage(g_clistApi.hwndContactList, WM_SIZE, 0, 0); /* workaround #2: drawing glitch after adding a frame (frame positioned wrongly when hidden) */ CallService(MS_CLIST_FRAMES_UPDATEFRAME, hFrame, FU_FMPOS | FU_FMREDRAW); /* workaround #3: MS_CLIST_FRAMES_SETFRAMEOPTIONS does cause redrawing problems */ diff --git a/plugins/AutoShutdown/src/shutdownsvc.cpp b/plugins/AutoShutdown/src/shutdownsvc.cpp index d1ebc110a7..b6f4ac85e0 100644 --- a/plugins/AutoShutdown/src/shutdownsvc.cpp +++ b/plugins/AutoShutdown/src/shutdownsvc.cpp @@ -147,7 +147,7 @@ static DWORD ShutdownNow(BYTE shutdownType) OutputDebugStringA("Not ready to exit. Waiting...\n"); /* tell others, all ascii */ } /* shutdown service must be called from main thread anyway */ - if (!DestroyWindow(g_CLI.hwndContactList)) + if (!DestroyWindow(g_clistApi.hwndContactList)) dwErrCode = GetLastError(); } break; -- cgit v1.2.3