diff options
-rw-r--r-- | engines/saga/font.cpp | 2 | ||||
-rw-r--r-- | engines/saga/font.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp index 1e818b047a..8a9c10deb4 100644 --- a/engines/saga/font.cpp +++ b/engines/saga/font.cpp @@ -332,7 +332,7 @@ void Font::outFont(const FontStyle &drawFont, Surface *ds, const char *text, siz // Check if character is defined if ((drawFont.fontCharEntry[c_code].index == 0) && (c_code != FONT_FIRSTCHAR)) { #if FONT_SHOWUNDEFINED - if (c_code == FONT_CH_SPACE || c_code == 9) { + if (c_code == FONT_CH_SPACE || c_code == FONT_CH_TAB) { textPoint.x += drawFont.fontCharEntry[c_code].tracking; continue; } diff --git a/engines/saga/font.h b/engines/saga/font.h index 5823513e0f..5fd3a53721 100644 --- a/engines/saga/font.h +++ b/engines/saga/font.h @@ -39,6 +39,7 @@ namespace Saga { // have a valid offset of '0' #define FONT_FIRSTCHAR 33 +#define FONT_CH_TAB 9 #define FONT_CH_SPACE 32 #define FONT_CH_QMARK 63 |