summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/RichEdit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/RichEdit.cpp')
-rw-r--r--plugins/SpellChecker/RichEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SpellChecker/RichEdit.cpp b/plugins/SpellChecker/RichEdit.cpp
index 96faed5b17..102b1acfde 100644
--- a/plugins/SpellChecker/RichEdit.cpp
+++ b/plugins/SpellChecker/RichEdit.cpp
@@ -55,7 +55,7 @@ LRESULT RichEdit::SendMessage(UINT Msg, WPARAM wParam, LPARAM lParam) const
bool RichEdit::IsReadOnly() const
{
- return (GetWindowLong(hwnd, GWL_STYLE) & ES_READONLY) == ES_READONLY;
+ return (GetWindowLongPtr(hwnd, GWL_STYLE) & ES_READONLY) == ES_READONLY;
}
void RichEdit::SuspendUndo()