From 746e61de88601ba9fa372a89b21dd2ea760539ae Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Feb 2018 14:57:57 +0200 Subject: no need to do the same job twice --- plugins/TabSRMM/src/containeroptions.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/containeroptions.cpp b/plugins/TabSRMM/src/containeroptions.cpp index c87c52700f..89ec3b074d 100644 --- a/plugins/TabSRMM/src/containeroptions.cpp +++ b/plugins/TabSRMM/src/containeroptions.cpp @@ -192,8 +192,6 @@ INT_PTR CALLBACK DlgProcContainerOptions(HWND hwndDlg, UINT msg, WPARAM wParam, HTREEITEM hItem = TreeView_InsertItem(hwndTree, &tvis); if (i == 0) SendMessage(hwndTree, TVM_SELECTITEM, TVGN_CARET, (LPARAM)hItem); - for (int j = 0; j < _countof(o_pages[0].uIds) && o_pages[i].uIds[j] != 0; j++) - Utils::showDlgControl(hwndDlg, o_pages[i].uIds[j], SW_HIDE); ShowPage(hwndDlg, i, FALSE); } Window_SetSkinIcon_IcoLib(hwndDlg, SKINICON_EVENT_MESSAGE); -- cgit v1.2.3