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/BuddyExpectator/src/BuddyExpectator.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/BuddyExpectator/src') diff --git a/plugins/BuddyExpectator/src/BuddyExpectator.cpp b/plugins/BuddyExpectator/src/BuddyExpectator.cpp index 00f1e38127..e10b249dbf 100644 --- a/plugins/BuddyExpectator/src/BuddyExpectator.cpp +++ b/plugins/BuddyExpectator/src/BuddyExpectator.cpp @@ -164,14 +164,14 @@ LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa switch (message) { case WM_COMMAND: if (HIWORD(wParam) == STN_CLICKED) { - g_CLI.pfnRemoveEvent(PUGetContact(hWnd), 0); + g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0); CallServiceSync("BuddyExpectator/actionReturned", PUGetContact(hWnd), 0); PUDeletePopup(hWnd); } break; case WM_CONTEXTMENU: - g_CLI.pfnRemoveEvent(PUGetContact(hWnd), 0); + g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0); setLastSeen(PUGetContact(hWnd)); PUDeletePopup(hWnd); break; @@ -189,14 +189,14 @@ LRESULT CALLBACK PopupDlgProcNoSet(HWND hWnd, UINT message, WPARAM wParam, LPARA switch (message) { case WM_COMMAND: if (HIWORD(wParam) == STN_CLICKED) { - g_CLI.pfnRemoveEvent(PUGetContact(hWnd), 0); + g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0); CallServiceSync("BuddyExpectator/actionStillAbsent", (WPARAM)PUGetContact(hWnd), 0); PUDeletePopup(hWnd); } break; case WM_CONTEXTMENU: - g_CLI.pfnRemoveEvent(PUGetContact(hWnd), 0); + g_clistApi.pfnRemoveEvent(PUGetContact(hWnd), 0); PUDeletePopup(hWnd); break; @@ -286,7 +286,7 @@ void ReturnNotify(MCONTACT hContact, wchar_t *message) wchar_t tmpMsg[512]; mir_snwprintf(tmpMsg, L"%s %s", nick, message); cle.szTooltip.w = tmpMsg; - g_CLI.pfnAddEvent(&cle); + g_clistApi.pfnAddEvent(&cle); } } @@ -324,7 +324,7 @@ void GoneNotify(MCONTACT hContact, wchar_t *message) mir_snwprintf(tmpMsg, L"%s %s", nick, message); cle.szTooltip.w = tmpMsg; cle.flags = CLEF_UNICODE; - g_CLI.pfnAddEvent(&cle); + g_clistApi.pfnAddEvent(&cle); } } -- cgit v1.2.3