From ea26b9a0835ee0d164e00996a2a7a44a1b5f909e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 Jan 2016 14:25:16 +0000 Subject: oops git-svn-id: http://svn.miranda-ng.org/main/trunk@16018 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/hotkeys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/hotkeys.cpp b/src/mir_app/src/hotkeys.cpp index 8830f38693..2dfaaed5fe 100644 --- a/src/mir_app/src/hotkeys.cpp +++ b/src/mir_app/src/hotkeys.cpp @@ -238,7 +238,7 @@ static INT_PTR svcHotkeyUnregister(WPARAM, LPARAM lParam) if (g_hwndHkOptions) SendMessage(g_hwndHkOptions, WM_HOTKEYUNREGISTERED, 0, 0); - for (int i = hotkeys.getCount()-1; i >= 0; i++) + for (int i = hotkeys.getCount()-1; i >= 0; i--) if (hotkeys[i]->UnregisterHotkey) { FreeHotkey(hotkeys[i]); hotkeys.remove(i); -- cgit v1.2.3