From b064f2ebde6d4a58141e5b2e8186c6ea53680f64 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Apr 2018 21:25:32 +0300 Subject: CLIST_INTERFACE::pfnGetAccountIndexByPos => Clist_GetAccountIndex --- plugins/Clist_modern/src/modern_statusbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_modern') diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index 1b396c6652..e0d671598f 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -173,7 +173,7 @@ int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC) int iProtoInStatusMenu = 0; for (int j = 0; j < accs.getCount(); j++) { - int i = pcli->pfnGetAccountIndexByPos(j); + int i = Clist_GetAccountIndex(j); if (i == -1) continue; @@ -795,7 +795,7 @@ LRESULT CALLBACK ModernStatusProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPa bool first = true; for (int pos = 0; pos < protoCount; pos++) { - int k = pcli->pfnGetAccountIndexByPos(pos); + int k = Clist_GetAccountIndex(pos); if (k < 0 || k >= protoCount) continue; -- cgit v1.2.3