From 86b3c8ddeb2d01718e8c8053ae31b50716c38160 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 17 Sep 2007 22:56:28 +0000 Subject: Character with ASCII code 9 is tab svn-id: r28934 --- engines/saga/font.cpp | 2 +- engines/saga/font.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3