From 5d392d90d6219c811aac32848fc14a5ea76a848c Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 26 Apr 2005 06:34:52 +0000 Subject: We need to use unsigned chars here to be able to print accented characters, e.g. in the German cutscenes. svn-id: r17805 --- gob/driver_vga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gob/driver_vga.h') diff --git a/gob/driver_vga.h b/gob/driver_vga.h index b2dbef52f9..13be635e9a 100644 --- a/gob/driver_vga.h +++ b/gob/driver_vga.h @@ -33,7 +33,7 @@ public: void drawSprite(SurfaceDesc *source, SurfaceDesc *dest, int16 left, int16 top, int16 right, int16 bottom, int16 x, int16 y, int16 transp); void fillRect(SurfaceDesc *dest, int16 left, int16 top, int16 right, int16 bottom, byte color); void putPixel(int16 x, int16 y, byte color, SurfaceDesc *dest); - void drawLetter(char item, int16 x, int16 y, FontDesc *fontDesc, byte color1, byte color2, byte transp, SurfaceDesc *dest); + void drawLetter(unsigned char item, int16 x, int16 y, FontDesc *fontDesc, byte color1, byte color2, byte transp, SurfaceDesc *dest); void drawLine(SurfaceDesc *dest, int16 x0, int16 y0, int16 x1, int16 y1, byte color); void drawPackedSprite(byte *sprBuf, int16 width, int16 height, int16 x, int16 y, byte transp, SurfaceDesc *dest); }; -- cgit v1.2.3