Commit e7e90100 authored by Luis Javier Merino's avatar Luis Javier Merino Committed by Tomaz Canabrava
Browse files

Don't cross hard newlines looking for a base char

Combining characters could end up combining with an unrelated character
from the previous line.  Now they just disappear, without messing with
the display of unrelated characters.
parent cb1e04a0
......@@ -928,7 +928,7 @@ void Screen::displayCharacter(uint c)
do {
if (charToCombineWithX > 0) {
--charToCombineWithX;
} else if (charToCombineWithY > 0) { // Try previous line
} else if (charToCombineWithY > 0 && _lineProperties.at(charToCombineWithY - 1) & LINE_WRAPPED) { // Try previous line
--charToCombineWithY;
charToCombineWithX = _screenLines.at(charToCombineWithY).length() - 1;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment