summaryrefslogtreecommitdiff
path: root/plugins/Modernb/modern_contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Modernb/modern_contact.cpp')
-rw-r--r--plugins/Modernb/modern_contact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Modernb/modern_contact.cpp b/plugins/Modernb/modern_contact.cpp
index 1184bfda1d..23e98b695a 100644
--- a/plugins/Modernb/modern_contact.cpp
+++ b/plugins/Modernb/modern_contact.cpp
@@ -200,7 +200,7 @@ INT_PTR ToggleGroups(WPARAM wParam,LPARAM lParam)
INT_PTR SetUseGroups(WPARAM wParam, LPARAM lParam)
{
- int newVal= !(GetWindowLong(pcli->hwndContactTree,GWL_STYLE)&CLS_USEGROUPS);
+ int newVal= !(GetWindowLongPtr(pcli->hwndContactTree,GWL_STYLE)&CLS_USEGROUPS);
if ( wParam != -1 )
{
if ( !newVal == wParam ) return 0;