Author: cwittich
Date: Wed Apr 18 03:38:39 2007
New Revision: 26384
URL:
http://svn.reactos.org/svn/reactos?rev=26384&view=rev
Log:
fix console font
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c Wed Apr 18 03:38:39 2007
@@ -860,7 +860,7 @@
PWCHAR To;
BYTE LastAttribute, Attribute;
ULONG CursorX, CursorY, CursorHeight;
- HBRUSH CursorBrush, OldBrush;
+ HBRUSH CursorBrush, OldBrush, BackgroundBrush;
HFONT OldFont;
Buff = Console->ActiveBuffer;
@@ -881,6 +881,10 @@
OldFont = SelectObject(hDC,
GuiData->Font);
+
+ BackgroundBrush = CreateSolidBrush(GuiData->ScreenBackground);
+ FillRect(hDC, rc, BackgroundBrush);
+ DeleteObject(BackgroundBrush);
for (Line = TopLine; Line <= BottomLine; Line++)
{