summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-04 21:25:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-04 21:25:32 +0300
commitb064f2ebde6d4a58141e5b2e8186c6ea53680f64 (patch)
treeb01cf136a0b4b8f02697090cde4ed55c3f2832e2 /plugins
parentd4b6de0fb4ca58063eb2f424c77e74e703022b63 (diff)
CLIST_INTERFACE::pfnGetAccountIndexByPos => Clist_GetAccountIndex
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_modern/src/modern_statusbar.cpp4
-rw-r--r--plugins/Clist_nicer/src/cluiservices.cpp4
2 files changed, 4 insertions, 4 deletions
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;
diff --git a/plugins/Clist_nicer/src/cluiservices.cpp b/plugins/Clist_nicer/src/cluiservices.cpp
index 7f88c7b9fe..c5567303d9 100644
--- a/plugins/Clist_nicer/src/cluiservices.cpp
+++ b/plugins/Clist_nicer/src/cluiservices.cpp
@@ -106,7 +106,7 @@ void CluiProtocolStatusChanged(int, const char*)
// count down since built in ones tend to go at the end
partCount = 0;
for (int i = 0; i < accs.getCount(); i++) {
- int idx = pcli->pfnGetAccountIndexByPos(i);
+ int idx = Clist_GetAccountIndex(i);
if (idx == -1)
continue;
@@ -151,7 +151,7 @@ void CluiProtocolStatusChanged(int, const char*)
char *szMaxProto = nullptr;
partCount = 0;
for (int i = 0; i < accs.getCount(); i++) {
- int idx = pcli->pfnGetAccountIndexByPos(i);
+ int idx = Clist_GetAccountIndex(i);
if (idx == -1)
continue;