summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/chat/window.cpp')
-rw-r--r--plugins/Scriver/src/chat/window.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp
index 54de76822b..518e818200 100644
--- a/plugins/Scriver/src/chat/window.cpp
+++ b/plugins/Scriver/src/chat/window.cpp
@@ -1350,8 +1350,7 @@ INT_PTR CChatRoomDlg::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
if (IsIconic(m_hwnd)) break;
if (wParam == SIZE_RESTORED || wParam == SIZE_MAXIMIZED) {
- GetClientRect(m_pParent->hwndTabs, &rc);
- TabCtrl_AdjustRect(m_pParent->hwndTabs, false, &rc);
+ GetClientRect(m_hwnd, &rc);
MessageDialogResize(rc.right - rc.left, rc.bottom - rc.top);
}
break;