From 6e3a46d295d3ee96c678c8e2dce511f135b5d9aa Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 22 Oct 2010 12:17:34 +0000 Subject: (svn r21007) -Fix: don't consider the text direction character when searching for missing glyphs --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings.cpp b/src/strings.cpp index f03ab65bf..0d27bb9c0 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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; } -- cgit v1.2.3-54-g00ecf