From c971b7e7f0cb5d72dffc208421a187d49c4e6895 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Feb 2023 12:39:01 +0300 Subject: =?UTF-8?q?fixes=20#3353=20(Jabber:=20=D0=BF=D1=83=D0=BD=D0=BA?= =?UTF-8?q?=D1=82=20=D0=BC=D0=B5=D0=BD=D1=8E=20"=D0=9F=D0=BE=D0=B7=D0=B2?= =?UTF-8?q?=D0=BE=D0=BD=D0=B8=D1=82=D1=8C"=20=D0=BD=D0=B5=20=D0=BE=D1=82?= =?UTF-8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=D0=B0=D0=BF=D1=83=D1=81=D0=BA=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/VoiceService/src/hooks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/VoiceService/src') diff --git a/plugins/VoiceService/src/hooks.cpp b/plugins/VoiceService/src/hooks.cpp index 007208b8fa..fb03ef57cc 100644 --- a/plugins/VoiceService/src/hooks.cpp +++ b/plugins/VoiceService/src/hooks.cpp @@ -259,8 +259,8 @@ static int PreBuildContactMenu(WPARAM wParam, LPARAM) Menu_ShowItem(hCMAnswer, false); Menu_ShowItem(hCMHold, false); Menu_ShowItem(hCMDrop, false); - for (unsigned int i = 0; i < hCMCalls.size(); ++i) - Menu_ShowItem(hCMCalls[i], false); + for (auto &it : hCMCalls) + Menu_ShowItem(it, false); MCONTACT hContact = (MCONTACT)wParam; if (hContact == NULL) -- cgit v1.2.3