summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/hotkeyhandler.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-14 13:22:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-14 13:22:04 +0000
commit0168c0457bb31905368134ae8ec1020a08d20970 (patch)
treeba49dd845b73354e000b52554388a9b497c4a9c4 /plugins/TabSRMM/src/hotkeyhandler.cpp
parentf3639776f82bb243ada2616cac7b95f2e363f670 (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8121 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/hotkeyhandler.cpp')
-rw-r--r--plugins/TabSRMM/src/hotkeyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/hotkeyhandler.cpp b/plugins/TabSRMM/src/hotkeyhandler.cpp
index f0e79c78f8..fdaaa532b8 100644
--- a/plugins/TabSRMM/src/hotkeyhandler.cpp
+++ b/plugins/TabSRMM/src/hotkeyhandler.cpp
@@ -267,12 +267,12 @@ LONG_PTR CALLBACK HotkeyHandlerDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP
do {
GetMenuItemInfoA(PluginConfig.g_hMenuTrayUnread, i, TRUE, &mii);
if (mii.dwItemData > 0) {
- UINT uid = GetMenuItemID(PluginConfig.g_hMenuTrayUnread, i);
+ uid = GetMenuItemID(PluginConfig.g_hMenuTrayUnread, i);
HandleMenuEntryFromhContact((MCONTACT)uid);
break;
}
}
- while (--i >= 0);
+ while (--i >= 0);
if (uid == 0 && pLastActiveContainer != NULL) { // no session found, restore last active container
if (IsIconic(pLastActiveContainer->hwnd) || !IsWindowVisible(pLastActiveContainer->hwnd)) {