summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/evas/common/language/evas_language_utils.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/evas/common/language/evas_language_utils.c b/src/lib/evas/common/language/evas_language_utils.c
index a7b8ef06f6..23dfb53cbd 100644
--- a/src/lib/evas/common/language/evas_language_utils.c
+++ b/src/lib/evas/common/language/evas_language_utils.c
@@ -1,3 +1,6 @@
1
2
3
1/** 4/**
2 * @internal 5 * @internal
3 * @addtogroup Evas_Utils 6 * @addtogroup Evas_Utils
@@ -59,10 +62,10 @@ _evas_common_language_char_script_search(Eina_Unicode unicode)
59Evas_Script_Type 62Evas_Script_Type
60evas_common_language_char_script_get(Eina_Unicode unicode) 63evas_common_language_char_script_get(Eina_Unicode unicode)
61{ 64{
65 if (unicode < 0) return EVAS_SCRIPT_COMMON;
62 if (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT) 66 if (unicode < EVAS_SCRIPT_DIRECT_TABLE_LIMIT)
63 return _evas_script_fast_table[unicode]; 67 return _evas_script_fast_table[unicode];
64 else 68 return _evas_common_language_char_script_search(unicode);
65 return _evas_common_language_char_script_search(unicode);
66} 69}
67 70
68int 71int