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/TrafficCounter/src/TrafficCounter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TrafficCounter/src') diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp index a49d09d34d..5359c976ec 100644 --- a/plugins/TrafficCounter/src/TrafficCounter.cpp +++ b/plugins/TrafficCounter/src/TrafficCounter.cpp @@ -224,7 +224,7 @@ int TrafficCounter_PaintCallbackProc(HWND hWnd, HDC hDC, RECT*, HRGN, DWORD, voi int TrafficCounter_Draw(HWND hwnd, HDC hDC) { if (hwnd == (HWND)-1) return 0; - if (GetParent(hwnd) == g_CLI.hwndContactList) + if (GetParent(hwnd) == g_clistApi.hwndContactList) return PaintTrafficCounterWindow(hwnd, hDC); else InvalidateRect(hwnd, nullptr, FALSE); @@ -1141,7 +1141,7 @@ static int TrafficCounterModulesLoaded(WPARAM, LPARAM) HookEvent(ME_NETLIB_FASTRECV, TrafficRecv); HookEvent(ME_NETLIB_FASTSEND, TrafficSend); - CreateTrafficWindow(g_CLI.hwndContactList); + CreateTrafficWindow(g_clistApi.hwndContactList); UpdateFonts(0, 0); //Load and create fonts here return 0; } -- cgit v1.2.3