summaryrefslogtreecommitdiff
path: root/plugins/Modernb/modern_clistmod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Modernb/modern_clistmod.cpp')
-rw-r--r--plugins/Modernb/modern_clistmod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Modernb/modern_clistmod.cpp b/plugins/Modernb/modern_clistmod.cpp
index c22f5550e1..b23d121a25 100644
--- a/plugins/Modernb/modern_clistmod.cpp
+++ b/plugins/Modernb/modern_clistmod.cpp
@@ -556,7 +556,7 @@ int cliShowHide(WPARAM wParam,LPARAM lParam)
}
else { //It needs to be hidden
- if (GetWindowLong(pcli->hwndContactList, GWL_EXSTYLE) & WS_EX_TOOLWINDOW)
+ if (GetWindowLongPtr(pcli->hwndContactList, GWL_EXSTYLE) & WS_EX_TOOLWINDOW)
{
CListMod_HideWindow(pcli->hwndContactList, SW_HIDE);
ModernWriteSettingByte(NULL,"CList","State",SETTING_STATE_HIDDEN);