Skip to content

Commit

Permalink
Don't reset the bidi level on spaces
Browse files Browse the repository at this point in the history
Fixes a regression introduced with the update to the bidi
algorithm.

Task-number: QTBUG-69633
Change-Id: I7eac45ed3ffb41f89ea3f793eedcfb6fcdace871
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
  • Loading branch information
laknoll committed Aug 17, 2018
1 parent 1702ae2 commit 055ff7a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/gui/text/qtextengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2077,7 +2077,6 @@ void QTextEngine::itemize() const
case QChar::Nbsp:
if (option.flags() & QTextOption::ShowTabsAndSpaces) {
analysis->flags = QScriptAnalysis::Space;
analysis->bidiLevel = bidi.baseLevel;
break;
}
Q_FALLTHROUGH();
Expand Down

0 comments on commit 055ff7a

Please sign in to comment.