Update Scintilla to version 3.5.0
This commit is contained in:
parent
521778ad31
commit
328c22eaf6
@ -2402,7 +2402,7 @@ void ScintillaGTK::PreeditChangedThis() {
|
||||
|
||||
PreEditString utfval(im_context);
|
||||
|
||||
if (strlen(utfval.str) > maxLenInputIME * 3) {
|
||||
if ((strlen(utfval.str) == 0) || strlen(utfval.str) > maxLenInputIME * 3) {
|
||||
return; // Do not allow over 200 chars.
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user