Fix crash in text post processing.

Fixes #4948.
This commit is contained in:
John Preston 2018-07-10 11:12:58 +03:00
parent b697824540
commit e1fd43b2a4
1 changed files with 0 additions and 1 deletions

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) {