Eina_Unicode as wchart_t.. which is SIGNED.. this is the problem of
not having a fixed typedef that is known to always be the same type
with same underlying properties!
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59947
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Evas_Script_Type
evas_common_language_char_script_get(Eina_Unicode unicode)
{
- if (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT)
+ if ((unicode >= 0) && (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT))
return _evas_script_fast_table[unicode];
else
return _evas_common_language_char_script_search(unicode);