Fix hyphenation words with unicode character in texboxwidget (#2356)

This commit is contained in:
robert00s
2016-11-19 21:26:53 +01:00
committed by Qingping Hou
parent 64bc5cd63c
commit fc5ba9b862
2 changed files with 31 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ end
-- Test whether a string could be separated by a char for multi-line rendering
function util.isSplitable(c)
return #c > 1 or c == " " or string.match(c, "%p") ~= nil
return c == " " or string.match(c, "%p") ~= nil
end
return util