mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08:00
[USETUP] Clear underlined text correctly
CORE-18446, CORE-5052
This commit is contained in:
parent
d707916605
commit
bf2f5a70a5
@ -815,6 +815,11 @@ CONSOLE_ClearStyledText(
|
||||
{
|
||||
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) */
|
||||
{
|
||||
CONSOLE_ClearTextXY(coPos.X, coPos.Y, Length);
|
||||
|
Loading…
Reference in New Issue
Block a user