mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
revert r26384 - this is an old hack to make console output work. We don't need this any longer since freetype / text output is fixed.
svn path=/trunk/; revision=33972
This commit is contained in:
parent
35656fd354
commit
86909f313f
|
@ -871,7 +871,7 @@ GuiConsolePaint(PCSRSS_CONSOLE Console,
|
||||||
PWCHAR To;
|
PWCHAR To;
|
||||||
BYTE LastAttribute, Attribute;
|
BYTE LastAttribute, Attribute;
|
||||||
ULONG CursorX, CursorY, CursorHeight;
|
ULONG CursorX, CursorY, CursorHeight;
|
||||||
HBRUSH CursorBrush, OldBrush, BackgroundBrush;
|
HBRUSH CursorBrush, OldBrush;
|
||||||
HFONT OldFont;
|
HFONT OldFont;
|
||||||
|
|
||||||
Buff = Console->ActiveBuffer;
|
Buff = Console->ActiveBuffer;
|
||||||
|
@ -890,10 +890,6 @@ GuiConsolePaint(PCSRSS_CONSOLE Console,
|
||||||
OldFont = SelectObject(hDC,
|
OldFont = SelectObject(hDC,
|
||||||
GuiData->Font);
|
GuiData->Font);
|
||||||
|
|
||||||
BackgroundBrush = CreateSolidBrush(GuiData->ScreenBackground);
|
|
||||||
FillRect(hDC, rc, BackgroundBrush);
|
|
||||||
DeleteObject(BackgroundBrush);
|
|
||||||
|
|
||||||
for (Line = TopLine; Line <= BottomLine; Line++)
|
for (Line = TopLine; Line <= BottomLine; Line++)
|
||||||
{
|
{
|
||||||
if (Line + Buff->ShowY < Buff->MaxY)
|
if (Line + Buff->ShowY < Buff->MaxY)
|
||||||
|
|
Loading…
Reference in a new issue