aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2007-09-17 22:56:28 +0000
committerFilippos Karapetis2007-09-17 22:56:28 +0000
commit86b3c8ddeb2d01718e8c8053ae31b50716c38160 (patch)
tree86df43fb0bf2dcdd60316d2c6de7811ea3631af0 /engines/saga
parentef0df159f14ffae39860801db1c6c7f5c7872137 (diff)
downloadscummvm-rg350-86b3c8ddeb2d01718e8c8053ae31b50716c38160.tar.gz
scummvm-rg350-86b3c8ddeb2d01718e8c8053ae31b50716c38160.tar.bz2
scummvm-rg350-86b3c8ddeb2d01718e8c8053ae31b50716c38160.zip
Character with ASCII code 9 is tab
svn-id: r28934
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/font.cpp2
-rw-r--r--engines/saga/font.h1
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