mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
Character with ASCII code 9 is tab
svn-id: r28934
This commit is contained in:
parent
ef0df159f1
commit
86b3c8ddeb
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user