[ros-diffs] [sir_richard] 45505: [ARMLLB]: PutChar should be a UCHAR routine, this way we can print characters above 127 (extended ASCII). This is needed for the progress bar, for example.

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Tue Feb 9 02:46:01 CET 2010


Author: sir_richard
Date: Tue Feb  9 02:46:01 2010
New Revision: 45505

URL: http://svn.reactos.org/svn/reactos?rev=45505&view=rev
Log:
[ARMLLB]: PutChar should be a UCHAR routine, this way we can print characters above 127 (extended ASCII). This is needed for the progress bar, for example.

Modified:
    trunk/reactos/boot/armllb/hw/video.c
    trunk/reactos/boot/armllb/inc/video.h

Modified: trunk/reactos/boot/armllb/hw/video.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/armllb/hw/video.c?rev=45505&r1=45504&r2=45505&view=diff
==============================================================================
--- trunk/reactos/boot/armllb/hw/video.c [iso-8859-1] (original)
+++ trunk/reactos/boot/armllb/hw/video.c [iso-8859-1] Tue Feb  9 02:46:01 2010
@@ -274,7 +274,7 @@
 
 VOID
 NTAPI
-LlbVideoDrawChar(IN CHAR c,
+LlbVideoDrawChar(IN UCHAR c,
                  IN PUSHORT Buffer,
                  IN USHORT Color,
                  IN USHORT BackColor)
@@ -342,7 +342,7 @@
 
 VOID
 NTAPI
-LlbVideoPutChar(IN CHAR c)
+LlbVideoPutChar(IN UCHAR c)
 {
     ULONG cx, cy, CharsPerLine, BackColor, ScreenWidth;
     

Modified: trunk/reactos/boot/armllb/inc/video.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/armllb/inc/video.h?rev=45505&r1=45504&r2=45505&view=diff
==============================================================================
--- trunk/reactos/boot/armllb/inc/video.h [iso-8859-1] (original)
+++ trunk/reactos/boot/armllb/inc/video.h [iso-8859-1] Tue Feb  9 02:46:01 2010
@@ -15,13 +15,13 @@
 VOID
 NTAPI
 LlbVideoPutChar(
-    IN CHAR c
+    IN UCHAR c
 );
 
 VOID
 NTAPI
 LlbVideoDrawChar(
-    IN CHAR c,
+    IN UCHAR c,
     IN PUSHORT Buffer,
     IN USHORT Color,
     IN USHORT BackColor




More information about the Ros-diffs mailing list