(svn r21007) -Fix: don't consider the text direction character when searching for missing glyphs

This commit is contained in:
rubidium 2010-10-22 12:17:34 +00:00
parent b933819b0b
commit 6e3a46d295
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}