diff options
Diffstat (limited to 'engines/cruise/font.cpp')
-rw-r--r-- | engines/cruise/font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/font.cpp b/engines/cruise/font.cpp index a5758db361..22f358033e 100644 --- a/engines/cruise/font.cpp +++ b/engines/cruise/font.cpp @@ -598,7 +598,7 @@ gfxEntryStruct *renderText(int inRightBorder_X, uint8 *string) { do { int spacesCount = 0; // si - char character = *string; + unsigned char character = *string; short int strPixelLength; // var_16 uint8 *ptrStringEnd; // var_4 //ok int drawPosPixel_X; // di @@ -628,7 +628,7 @@ gfxEntryStruct *renderText(int inRightBorder_X, uint8 *string) { do { character = *(string++); - short int charData = fontCharacterTable[(int)character]; // get character position + short int charData = fontCharacterTable[character]; // get character position if (character) { if (character == ' ' || character == 0x7C) { |