diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-28 12:39:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-28 12:39:01 +0300 |
commit | c971b7e7f0cb5d72dffc208421a187d49c4e6895 (patch) | |
tree | 78ec08d79a46bcfcd00a4fff0980612667732d86 /plugins/VoiceService/src | |
parent | e831ce4dfe7a6cb5f87f7eb862d5bbf21f4b4159 (diff) |
fixes #3353 (Jabber: пункт меню "Позвонить" не отображается после перезапуска)
Diffstat (limited to 'plugins/VoiceService/src')
-rw-r--r-- | plugins/VoiceService/src/hooks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) |