Commit in reactos/subsys/csrss/win32csr on MAIN
guiconsole.c+2-31.13 -> 1.14
Patch by tonik <spammed@fromru.com>
GuiConsoleUpdateBitmap ignores the color attribute of the first character in
line, instead it takes the attribute of the last character of the previous line.

reactos/subsys/csrss/win32csr
guiconsole.c 1.13 -> 1.14
diff -u -r1.13 -r1.14
--- guiconsole.c	9 Apr 2004 20:03:16 -0000	1.13
+++ guiconsole.c	8 May 2004 09:19:53 -0000	1.14
@@ -1,4 +1,4 @@
-/* $Id: guiconsole.c,v 1.13 2004/04/09 20:03:16 navaraf Exp $
+/* $Id: guiconsole.c,v 1.14 2004/05/08 09:19:53 gvg Exp $
  *
  * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS system libraries
@@ -229,12 +229,11 @@
               From = Buff->Buffer +
                      ((Line - (Buff->MaxY - Buff->ShowY)) * Buff->MaxX + LeftChar) * 2;
             }
-          Attribute = *(From + 1);
           Start = LeftChar;
           To = GuiData->LineBuffer;
           for (Char = LeftChar; Char <= RightChar; Char++)
             {
-              if (*(From + 1) != Attribute)
+              if (*(From + 1) != LastAttribute)
                 {
                   TextOutW(GuiData->MemoryDC, Start * GuiData->CharWidth, Line * GuiData->CharHeight,
                            GuiData->LineBuffer, Char - Start);
CVSspam 0.2.8