[core] Remove a bunch of superflous semicolons (#9449)

This commit is contained in:
zwim
2022-09-08 21:52:06 +02:00
committed by GitHub
parent 96930f230f
commit d972b7fcfa
10 changed files with 17 additions and 18 deletions

View File

@@ -363,7 +363,7 @@ function ReaderSearch:search(pattern, origin, regex, case_insensitive)
Device:setIgnoreInput(true)
local retval, words_found = self.ui.document:findText(pattern, origin, direction, case_insensitive, page, regex, self.max_hits)
Device:setIgnoreInput(false)
local regex_retval = regex and self.ui.document:getAndClearRegexSearchError();
local regex_retval = regex and self.ui.document:getAndClearRegexSearchError()
if regex and regex_retval ~= 0 then
local error_message
if SRELL_ERROR_CODES[regex_retval] then