summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/language
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-08-27 14:11:16 +0100
committerTom Hacohen <tom@stosb.com>2013-08-27 14:11:16 +0100
commit041e3af3e55e28bedf955ebd098813a049040f08 (patch)
tree691b3a253252fd6e1ae7062d2d4079a9322924f0 /src/lib/evas/common/language
parentdeacfdce24871b744618ac598c2a54774291e620 (diff)
Evas bidi: Fixed a bug causing BiDi not to work in some cases.
This issue cause non-letter RTL characters not to be detected as RTL which in turn turned off bidi for those strings. Example broken text: <RLM><LRO>[PAS<RLO>[--DES<PDF><PDF>. Thanks to Yakov Goldberg for reporting this issue.
Diffstat (limited to 'src/lib/evas/common/language')
-rw-r--r--src/lib/evas/common/language/evas_bidi_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/language/evas_bidi_utils.c b/src/lib/evas/common/language/evas_bidi_utils.c
index afadcf2ca7..b421a3aa7d 100644
--- a/src/lib/evas/common/language/evas_bidi_utils.c
+++ b/src/lib/evas/common/language/evas_bidi_utils.c
@@ -87,7 +87,7 @@ evas_bidi_is_rtl_str(const Eina_Unicode *str)
87 for ( ; *str ; str++) 87 for ( ; *str ; str++)
88 { 88 {
89 type = fribidi_get_bidi_type((FriBidiChar) *str); 89 type = fribidi_get_bidi_type((FriBidiChar) *str);
90 if (FRIBIDI_IS_LETTER(type) && FRIBIDI_IS_RTL(type)) 90 if (FRIBIDI_IS_RTL(type))
91 { 91 {
92 return EINA_TRUE; 92 return EINA_TRUE;
93 } 93 }