From 769b537b5e1a99fc53aa7296fd2b21dc77a4071c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Aug 2015 20:33:13 +0000 Subject: name conflicts solved git-svn-id: http://svn.miranda-ng.org/main/trunk@14971 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/menu_clist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mir_app/src/menu_clist.cpp b/src/mir_app/src/menu_clist.cpp index 3fd80a7f0b..cfbdd96d0c 100644 --- a/src/mir_app/src/menu_clist.cpp +++ b/src/mir_app/src/menu_clist.cpp @@ -1019,7 +1019,7 @@ static int MenuProtoAck(WPARAM, LPARAM lParam) if (!mir_strcmp(accounts[i]->szModuleName, ack->szModule)) { int iOldStatus = (int)ack->hProcess; if ((iOldStatus >= ID_STATUS_OFFLINE || iOldStatus == 0) && iOldStatus < ID_STATUS_OFFLINE + _countof(statusModeList)) { - int pos = statustopos((int)ack->hProcess); + int pos = statustopos(iOldStatus); if (pos == -1) pos = 0; for (pos = 0; pos < _countof(statusModeList); pos++) -- cgit v1.2.3