mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[core] Remove a bunch of superflous semicolons (#9449)
This commit is contained in:
@@ -161,7 +161,7 @@ end
|
||||
-- @treturn RenderTextSize
|
||||
function RenderText:sizeUtf8Text(x, width, face, text, kerning, bold)
|
||||
if not text then
|
||||
logger.warn("sizeUtf8Text called without text");
|
||||
logger.warn("sizeUtf8Text called without text")
|
||||
return { x = 0, y_top = 0, y_bottom = 0 }
|
||||
end
|
||||
|
||||
@@ -209,7 +209,7 @@ end
|
||||
-- @return int width of rendered bitmap
|
||||
function RenderText:renderUtf8Text(dest_bb, x, baseline, face, text, kerning, bold, fgcolor, width, char_pads)
|
||||
if not text then
|
||||
logger.warn("renderUtf8Text called without text");
|
||||
logger.warn("renderUtf8Text called without text")
|
||||
return 0
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user