Fix crash in text post processing.

Fixes .
This commit is contained in:
John Preston 2018-07-10 11:12:58 +03:00
parent b697824540
commit e1fd43b2a4

View File

@ -1987,7 +1987,6 @@ void InputField::processFormatting(int insertPosition, int insertEnd) {
if (ch + 1 < textEnd && ch->isHighSurrogate() && (ch + 1)->isLowSurrogate()) {
++ch;
++fragmentPosition;
}
}
if (action.type != ActionType::Invalid) {