Author: tkreuzer
Date: Wed Jan  9 13:22:14 2013
New Revision: 58150

URL: http://svn.reactos.org/svn/reactos?rev=58150&view=rev
Log:
[BOOTVID]
Rename a global variable to silence a VS analyze warning.

Modified:
    trunk/reactos/drivers/base/bootvid/i386/vga.c

Modified: trunk/reactos/drivers/base/bootvid/i386/vga.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/bootvid/i386/vga.c?rev=58150&r1=58149&r2=58150&view=diff
==============================================================================
--- trunk/reactos/drivers/base/bootvid/i386/vga.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/bootvid/i386/vga.c [iso-8859-1] Wed Jan  9 
13:22:14 2013
@@ -63,7 +63,7 @@
     0x1111,
 };
 
-ULONG TextColor = 0xF;
+ULONG VidTextColor = 0xF;
 ULONG curr_x = 0;
 ULONG curr_y = 0;
 BOOLEAN CarriageReturn = FALSE;
@@ -689,8 +689,8 @@
     ULONG OldColor;
 
     /* Save the old color and set the new one */
-    OldColor = TextColor;
-    TextColor = Color;
+    OldColor = VidTextColor;
+    VidTextColor = Color;
     return OldColor;
 }
 
@@ -824,7 +824,7 @@
             }
 
             /* Display this character */
-            DisplayCharacter(*String, curr_x, curr_y, TextColor, 16);
+            DisplayCharacter(*String, curr_x, curr_y, VidTextColor, 16);
             curr_x += 8;
 
             /* Check if we should scroll */


Reply via email to