mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
fix console font
svn path=/trunk/; revision=26384
This commit is contained in:
parent
96b61f6b0b
commit
d2796783e0
1 changed files with 5 additions and 1 deletions
|
@ -860,7 +860,7 @@ GuiConsolePaint(PCSRSS_CONSOLE Console,
|
|||
PWCHAR To;
|
||||
BYTE LastAttribute, Attribute;
|
||||
ULONG CursorX, CursorY, CursorHeight;
|
||||
HBRUSH CursorBrush, OldBrush;
|
||||
HBRUSH CursorBrush, OldBrush, BackgroundBrush;
|
||||
HFONT OldFont;
|
||||
|
||||
Buff = Console->ActiveBuffer;
|
||||
|
@ -882,6 +882,10 @@ GuiConsolePaint(PCSRSS_CONSOLE Console,
|
|||
OldFont = SelectObject(hDC,
|
||||
GuiData->Font);
|
||||
|
||||
BackgroundBrush = CreateSolidBrush(GuiData->ScreenBackground);
|
||||
FillRect(hDC, rc, BackgroundBrush);
|
||||
DeleteObject(BackgroundBrush);
|
||||
|
||||
for (Line = TopLine; Line <= BottomLine; Line++)
|
||||
{
|
||||
if (Line + Buff->ShowY < Buff->MaxY)
|
||||
|
|
Loading…
Reference in a new issue