diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-16 22:24:46 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-16 22:24:46 +0300 |
commit | 7020c51150428a643a5928824332cb8608d65aea (patch) | |
tree | 042fbba206923ab12db5aa45058b4fbf49a81cd5 /plugins/Scriver/src | |
parent | f49237c1631ad9737171016f578b5da8a38d9d4d (diff) |
warning fix
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 001a691927..be01814c2a 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1320,12 +1320,10 @@ INT_PTR CMsgDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) m_bUseIEView = false;
}
else if (!m_bUseIEView && m_hwndIeview != nullptr) {
- if (m_hwndIeview != nullptr) {
- IEVIEWWINDOW ieWindow = { sizeof(ieWindow) };
- ieWindow.iType = IEW_DESTROY;
- ieWindow.hwnd = m_hwndIeview;
- CallService(MS_IEVIEW_WINDOW, 0, (LPARAM)&ieWindow);
- }
+ IEVIEWWINDOW ieWindow = { sizeof(ieWindow) };
+ ieWindow.iType = IEW_DESTROY;
+ ieWindow.hwnd = m_hwndIeview;
+ CallService(MS_IEVIEW_WINDOW, 0, (LPARAM)&ieWindow);
m_hwndIeview = nullptr;
}
|