From 3c78e3b9659ea8903d46cdcc0d95288e65f50e0b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 5 Mar 2017 18:43:18 +0300 Subject: minor code cleaning --- plugins/TabSRMM/src/msgdlgutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp') 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; -- cgit v1.2.3