mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
*: luacheck fixes (#8368)
These weren't caught during the Japanese support plugin review. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
@@ -601,7 +601,7 @@ function util.isCJKChar(c)
|
||||
if #c < 3 then
|
||||
return false
|
||||
end
|
||||
code = BaseUtil.utf8charcode(c)
|
||||
local code = BaseUtil.utf8charcode(c)
|
||||
-- The weird bracketing is intentional -- we use the lowest possible
|
||||
-- codepoint as a shortcut so if the codepoint is below U+1100 we
|
||||
-- immediately return false.
|
||||
|
||||
Reference in New Issue
Block a user