summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/dlgboxsubclass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/dlgboxsubclass.cpp')
-rw-r--r--plugins/SmileyAdd/dlgboxsubclass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/dlgboxsubclass.cpp b/plugins/SmileyAdd/dlgboxsubclass.cpp
index 1e00bb2cf6..1cec51ce5a 100644
--- a/plugins/SmileyAdd/dlgboxsubclass.cpp
+++ b/plugins/SmileyAdd/dlgboxsubclass.cpp
@@ -139,7 +139,7 @@ public:
GetWindowRect(LButton, &rect);
pt.y = rect.top;
- if ((GetWindowLong(LButton, GWL_STYLE) & WS_VISIBLE) != 0)
+ if ((GetWindowLongPtr(LButton, GWL_STYLE) & WS_VISIBLE) != 0)
pt.x = rect.left - 28;
else
pt.x = rect.left;