diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-14 15:55:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-14 15:55:26 +0300 |
commit | 58934a360e8ff68bc81d3fd7e17026f7bbb329f0 (patch) | |
tree | 72e45792ff17076f71d1a4dd540ae29a4e4ac262 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | abf4069c2e3473da8f1d468e46c19951935a912f (diff) |
some fixes to make Coverity happier
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 0ad090b764..7279902229 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1227,7 +1227,7 @@ void CSrmmWindow::OnInitDialog() void CSrmmWindow::OnDestroy()
{
- memset((void*)&m_pContainer->mOld, -1000, sizeof(MARGINS));
+ m_pContainer->ClearMargins();
PostMessage(m_pContainer->hwnd, WM_SIZE, 0, 1);
if (m_pContainer->dwFlags & CNT_SIDEBAR)
m_pContainer->SideBar->removeSession(this);
@@ -3094,7 +3094,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) case WM_DWMCOMPOSITIONCHANGED:
BB_RefreshTheme();
- memset((void*)&m_pContainer->mOld, -1000, sizeof(MARGINS));
+ m_pContainer->ClearMargins();
CProxyWindow::verify(this);
break;
|