Commit 82806a2c authored by Carlos Alves's avatar Carlos Alves Committed by Kurt Hindenburg

Fix bold character color paint

Konsole was painting 'bold' character as 'faint bold' character.

BUG: 405345
FIXED-IN: 20.12
(cherry picked from commit 270d6ea3)
parent d763cb84
......@@ -474,14 +474,8 @@ void Screen::updateEffectiveRendition()
_effectiveBackground = _currentBackground;
}
if ((_currentRendition & RE_BOLD) != 0) {
if ((_currentRendition & RE_FAINT) == 0) {
_effectiveForeground.setIntensive();
}
} else {
if ((_currentRendition & RE_FAINT) != 0) {
if ((_currentRendition & RE_BOLD) == 0 && (_currentRendition & RE_FAINT) != 0) {
_effectiveForeground.setFaint();
}
}
}
......
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