summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Schroeter <mathieu@schroetersa.ch>2019-02-17 14:13:50 +0100
committerMathieu Schroeter <mathieu@schroetersa.ch>2019-02-17 14:13:50 +0100
commit30000a49235416df8a19d3db80f57e072b32e0ed (patch)
tree77d0bda4f306588e4274d01c0c3c4e6dafe5b3a2
parent82b97be5f9fb40ecbc1ee5a4eb10418637226954 (diff)
Fix space position when english text is mixed with hebrew
-rw-r--r--src/text.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.cxx b/src/text.cxx
index de273f9..18cbbf4 100644
--- a/src/text.cxx
+++ b/src/text.cxx
@@ -202,7 +202,7 @@ DrawText (
if (isRightReading && numberSize == 0)
{
const auto test = [](const char * text) -> bool {
- return *text >= ' ' && *text <= '~';
+ return *text > ' ' && *text <= '~';
};
it = pText;
isLatin = test (pText);