summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/userprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/userprefs.cpp')
-rw-r--r--plugins/TabSRMM/src/userprefs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/userprefs.cpp b/plugins/TabSRMM/src/userprefs.cpp
index 77485cf76d..2a774b739f 100644
--- a/plugins/TabSRMM/src/userprefs.cpp
+++ b/plugins/TabSRMM/src/userprefs.cpp
@@ -483,14 +483,14 @@ INT_PTR CALLBACK DlgProcUserPrefsFrame(HWND hwndDlg, UINT msg, WPARAM wParam, LP
dat->LoadLocalFlags();
if ((dat->m_dwFlags & MWF_LOG_ALL) != dwOldFlags) {
bool fShouldHide = true;
- if (IsIconic(dat->m_pContainer->hwnd))
+ if (IsIconic(dat->m_pContainer->m_hwnd))
fShouldHide = false;
else
- ShowWindow(dat->m_pContainer->hwnd, SW_HIDE);
+ ShowWindow(dat->m_pContainer->m_hwnd, SW_HIDE);
dat->DM_OptionsApplied(0, 0);
SendMessage(hwnd, DM_DEFERREDREMAKELOG, (WPARAM)hwnd, 0);
if (fShouldHide)
- ShowWindow(dat->m_pContainer->hwnd, SW_SHOWNORMAL);
+ ShowWindow(dat->m_pContainer->m_hwnd, SW_SHOWNORMAL);
}
}
}