mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
[USETUP] Clear underlined text correctly
CORE-18446, CORE-5052
This commit is contained in:
parent
d707916605
commit
bf2f5a70a5
1 changed files with 5 additions and 0 deletions
|
@ -815,6 +815,11 @@ CONSOLE_ClearStyledText(
|
||||||
{
|
{
|
||||||
CONSOLE_ClearStatusTextX(coPos.X, Length);
|
CONSOLE_ClearStatusTextX(coPos.X, Length);
|
||||||
}
|
}
|
||||||
|
else if (Flags & TEXT_STYLE_UNDERLINE)
|
||||||
|
{
|
||||||
|
CONSOLE_ClearTextXY(coPos.X, coPos.Y, Length);
|
||||||
|
CONSOLE_ClearTextXY(coPos.X, coPos.Y + 1, Length);
|
||||||
|
}
|
||||||
else /* TEXT_TYPE_REGULAR (Default) */
|
else /* TEXT_TYPE_REGULAR (Default) */
|
||||||
{
|
{
|
||||||
CONSOLE_ClearTextXY(coPos.X, coPos.Y, Length);
|
CONSOLE_ClearTextXY(coPos.X, coPos.Y, Length);
|
||||||
|
|
Loading…
Reference in a new issue