diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cruise/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/font.cpp b/engines/cruise/font.cpp index d5010b2bf8..8da3621bdc 100644 --- a/engines/cruise/font.cpp +++ b/engines/cruise/font.cpp @@ -242,7 +242,7 @@ int32 prepareWordRender(int32 inRightBorder_X, int16 wordSpacingWidth, if (character == '|' || !character) { finish = 1; } else { - if (charData) { + if (charData >= 0) { if (pixelCount + wordSpacingWidth + (int16)fontData[charData].charWidth >= inRightBorder_X) { finish = 1; |