aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--curses/ScintillaCurses.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/curses/ScintillaCurses.cxx b/curses/ScintillaCurses.cxx
index a39ccbec3..4941ba344 100644
--- a/curses/ScintillaCurses.cxx
+++ b/curses/ScintillaCurses.cxx
@@ -1069,7 +1069,7 @@ public:
char utf8[6];
int len;
toutf8(key, utf8, &len);
- return (AddCharUTF(utf8, len), 1);
+ return (InsertCharacter(utf8, len), 1);
} else return (AddChar(key), 1);
} else {
SCNotification scn = {};