summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-01-04 14:25:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-01-04 14:25:16 +0000
commitea26b9a0835ee0d164e00996a2a7a44a1b5f909e (patch)
tree374c729295cad0af07e1da05ac57de7dcec4b0c2
parent4dc918470c838072354fe22415669bd161fcdd13 (diff)
oops
git-svn-id: http://svn.miranda-ng.org/main/trunk@16018 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/mir_app/src/hotkeys.cpp2
1 files changed, 1 insertions, 1 deletions
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);