summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgutils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-05 18:43:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-05 18:43:31 +0300
commit3c78e3b9659ea8903d46cdcc0d95288e65f50e0b (patch)
treeaa979e40325b713c8c89369ef41b0e3bfc4673b6 /plugins/TabSRMM/src/msgdlgutils.cpp
parent65cd7e169459a539122219425006cda70c28761d (diff)
minor code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index 65898944fe..48d7c3894b 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -217,7 +217,7 @@ void CTabBaseDlg::CalcDynamicAvatarSize(BITMAP *bminfo)
return; // at this stage, the layout is not yet ready...
RECT rc;
- GetClientRect(GetHwnd(), &rc);
+ GetClientRect(m_hwnd, &rc);
BOOL bBottomToolBar = m_pContainer->dwFlags & CNT_BOTTOMTOOLBAR;
BOOL bToolBar = m_pContainer->dwFlags & CNT_HIDETOOLBAR ? 0 : 1;