summaryrefslogtreecommitdiff
path: root/protocols/IRCG/ui_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/ui_utils.cpp')
-rw-r--r--protocols/IRCG/ui_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/ui_utils.cpp b/protocols/IRCG/ui_utils.cpp
index 5b95b86646..a7c6477e29 100644
--- a/protocols/IRCG/ui_utils.cpp
+++ b/protocols/IRCG/ui_utils.cpp
@@ -164,7 +164,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);