summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/language
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-03-12 11:17:05 +0000
committerTom Hacohen <tom@stosb.com>2013-03-12 11:17:17 +0000
commit26a5cdc63bff3babbefe116221aeb0d8b5520dbc (patch)
tree48d6299e6577dc7b9da8e44ef15cb474924c65d0 /src/lib/evas/common/language
parentf4ff9a1a3eda20f578357ef30bb661c707d5f028 (diff)
Evas language: Fixed compiler warning about unsigned comparison.
comparison of unsigned expression >= 0 is always true. Thanks to vtorri for the report.
Diffstat (limited to 'src/lib/evas/common/language')
-rw-r--r--src/lib/evas/common/language/evas_language_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/common/language/evas_language_utils.c b/src/lib/evas/common/language/evas_language_utils.c
index b362f10b18..a7b8ef06f6 100644
--- a/src/lib/evas/common/language/evas_language_utils.c
+++ b/src/lib/evas/common/language/evas_language_utils.c
@@ -59,7 +59,7 @@ _evas_common_language_char_script_search(Eina_Unicode unicode)
59Evas_Script_Type 59Evas_Script_Type
60evas_common_language_char_script_get(Eina_Unicode unicode) 60evas_common_language_char_script_get(Eina_Unicode unicode)
61{ 61{
62 if ((unicode >= 0) && (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT)) 62 if (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT)
63 return _evas_script_fast_table[unicode]; 63 return _evas_script_fast_table[unicode];
64 else 64 else
65 return _evas_common_language_char_script_search(unicode); 65 return _evas_common_language_char_script_search(unicode);