summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/themes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r--plugins/TabSRMM/src/themes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp
index a1b2368a04..64bd4d7a18 100644
--- a/plugins/TabSRMM/src/themes.cpp
+++ b/plugins/TabSRMM/src/themes.cpp
@@ -2155,7 +2155,7 @@ void CMsgDialog::RenderToolbarBG(HDC hdc, const RECT &rcWindow) const
POINT pt;
if (!(m_pContainer->m_dwFlags & CNT_BOTTOMTOOLBAR)) {
- ::GetWindowRect(m_log.GetHwnd(), &rc);
+ ::GetWindowRect(m_pLog->GetHwnd(), &rc);
pt.y = rc.bottom + 0;
::ScreenToClient(m_hwnd, &pt);
rcToolbar.top = pt.y;
@@ -2404,7 +2404,7 @@ void CSkin::extractSkinsAndLogo(bool fForceOverwrite) const
void CMsgDialog::UpdateToolbarBG()
{
RECT rcUpdate, rcTmp;
- ::GetWindowRect(m_log.GetHwnd(), &rcTmp);
+ ::GetWindowRect(m_pLog->GetHwnd(), &rcTmp);
POINT pt;
pt.x = rcTmp.left;