diff options
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/string/case.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/string/case.c b/core/src/xmake/string/case.c index 81cdeae1c..d87b3e9a7 100644 --- a/core/src/xmake/string/case.c +++ b/core/src/xmake/string/case.c @@ -114,7 +114,7 @@ static tb_int_t xm_string_case(lua_State* lua, tb_bool_t lower) { tb_uint32_t* p = (tb_uint32_t*)dst_data; tb_size_t n = (tb_size_t)dst_size / 4; while (n--) { - if (*p < 0x10000) { + if (*p < 0x2000) { if (lower) { if (iswupper((wint_t)*p)) *p = towlower((wint_t)*p); |
