Update Scintilla to version 3.5.0

This commit is contained in:
Colomban Wendling 2014-08-13 14:07:03 +02:00
parent 521778ad31
commit 328c22eaf6

View File

@ -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.
}