Evas language: Fixed compiler warning about unsigned comparison.

comparison of unsigned expression >= 0 is always true.

Thanks to vtorri for the report.
This commit is contained in:
Tom Hacohen 2013-03-12 11:17:05 +00:00
parent f4ff9a1a3e
commit 26a5cdc63b
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ _evas_common_language_char_script_search(Eina_Unicode unicode)
Evas_Script_Type
evas_common_language_char_script_get(Eina_Unicode unicode)
{
if ((unicode >= 0) && (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT))
if (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT)
return _evas_script_fast_table[unicode];
else
return _evas_common_language_char_script_search(unicode);