summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/richcall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/richcall.cpp')
-rw-r--r--plugins/SmileyAdd/richcall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/richcall.cpp b/plugins/SmileyAdd/richcall.cpp
index 72830400a5..d9b9123c48 100644
--- a/plugins/SmileyAdd/richcall.cpp
+++ b/plugins/SmileyAdd/richcall.cpp
@@ -397,7 +397,7 @@ bool SetRichCallback(HWND hwnd, HANDLE hContact, bool subany, bool subnew)
rdt->hwnd = hwnd;
rdt->hContact = hContact;
- rdt->inputarea = (GetWindowLong(hwnd, GWL_STYLE) & ES_READONLY) == 0;
+ rdt->inputarea = (GetWindowLongPtr(hwnd, GWL_STYLE) & ES_READONLY) == 0;
rdt->dontReplace = false;
rdt->tipActive = -1;
rdt->wpOrigWndProc = NULL;