From 14f76982d5f16c16903ea3118036d9eb799d8aa6 Mon Sep 17 00:00:00 2001 From: frto027 <602706150@qq.com> Date: Wed, 19 Jan 2022 22:00:46 +0800 Subject: [PATCH] fix comment in fitTextToWidth --- eid_api.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eid_api.lua b/eid_api.lua index 0dfbcf51..44fffed1 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -748,7 +748,6 @@ function EID:fitTextToWidth(str, textboxWidth, breakUtf8Chars) (((cur & 0xC0) == 0x80) and (next~= byte_space and (next & 0x80) == 0x00)) )) then - --[[ -------------------ascii only--------------- word will be separated by spaces. @@ -783,7 +782,7 @@ function EID:fitTextToWidth(str, textboxWidth, breakUtf8Chars) cond#3 世|界|是 |world | ↑ - ↑ cond#4 + ↑ cond#2 cond#3 ]]