mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 10:30:28 +00:00
(svn r21007) -Fix: don't consider the text direction character when searching for missing glyphs
This commit is contained in:
parent
b933819b0b
commit
6e3a46d295
@ -1593,7 +1593,7 @@ static bool FindMissingGlyphs(const char **str)
|
||||
text++;
|
||||
} else if (c == SCC_SETXY) {
|
||||
text += 2;
|
||||
} else if (IsPrintable(c) && c != '?' && GetGlyph(FS_NORMAL, c) == question_mark) {
|
||||
} else if (IsPrintable(c) && !IsTextDirectionChar(c) && c != '?' && GetGlyph(FS_NORMAL, c) == question_mark) {
|
||||
/* The character is printable, but not in the normal font. This is the case we were testing for. */
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user