aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 2dd329fa3..3b53f806f 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3031,7 +3031,7 @@ LRESULT Editor::WndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) {
case EM_SETWORDBREAKPROC:
break;
- case EM_LIMITTEXT:
+ case EM_SETLIMITTEXT:
// wParam holds the number of characters control should be limited to
break;