fix comment in fitTextToWidth
This commit is contained in:
1 parent
4b703c07c1
commit
14f76982d5
1 file changed
+1
-2
+1
-2
@@ -748,7 +748,6 @@ function EID:fitTextToWidth(str, textboxWidth, breakUtf8Chars)
|
|||||||
(((cur & 0xC0) == 0x80) and (next~= byte_space and (next & 0x80) == 0x00))
|
(((cur & 0xC0) == 0x80) and (next~= byte_space and (next & 0x80) == 0x00))
|
||||||
))
|
))
|
||||||
then
|
then
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
-------------------ascii only---------------
|
-------------------ascii only---------------
|
||||||
word will be separated by spaces.
|
word will be separated by spaces.
|
||||||
@@ -783,7 +782,7 @@ function EID:fitTextToWidth(str, textboxWidth, breakUtf8Chars)
|
|||||||
cond#3
|
cond#3
|
||||||
世|界|是 |world
|
世|界|是 |world
|
||||||
| ↑
|
| ↑
|
||||||
↑ cond#4
|
↑ cond#2
|
||||||
cond#3
|
cond#3
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user