summaryrefslogtreecommitdiff
path: root/protocols/JabberG/ui_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/ui_utils.cpp')
-rw-r--r--protocols/JabberG/ui_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/ui_utils.cpp b/protocols/JabberG/ui_utils.cpp
index 63621cb76e..0e1fad9a44 100644
--- a/protocols/JabberG/ui_utils.cpp
+++ b/protocols/JabberG/ui_utils.cpp
@@ -162,7 +162,7 @@ INT_PTR CDlgBase::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
case WM_SIZE:
{
- if (m_forceResizable || (GetWindowLong(m_hwnd, GWL_STYLE) & WS_SIZEBOX))
+ if (m_forceResizable || (GetWindowLongPtr(m_hwnd, GWL_STYLE) & WS_SIZEBOX))
{
UTILRESIZEDIALOG urd;
urd.cbSize = sizeof(urd);