diff options
author | George Hazan <ghazan@miranda.im> | 2018-06-17 20:38:43 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-06-17 20:38:43 +0300 |
commit | e74a61818c5bf1a51bee9e7f4cafd09c2b106448 (patch) | |
tree | 233cf2f90466def704f357df05c179feab0f3aaf /plugins/TabSRMM/src/container.cpp | |
parent | 78c9b53dfe547ce768297f952ea79903b792de03 (diff) |
final fix for #1425
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index c68889503b..bf8ac41aef 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -1325,11 +1325,9 @@ panel_found: int curItem = TabCtrl_GetCurSel(hwndTab);
if (curItem >= 0) {
- TCITEM item = {};
tci.mask = TCIF_PARAM;
- if (TabCtrl_GetItem(hwndTab, curItem, &item))
- if (item.lParam)
- SendMessage((HWND)item.lParam, WM_ACTIVATE, WA_INACTIVE, 0);
+ if (TabCtrl_GetItem(hwndTab, curItem, &tci))
+ SendMessage((HWND)tci.lParam, WM_ACTIVATE, WA_INACTIVE, 0);
}
break;
}
|