fix: menu title when browsing files (#349)
This commit is contained in:

committed by
GitHub

parent
00d249a351
commit
59ac8af48f
@@ -22,7 +22,7 @@ end
|
||||
---@param char string
|
||||
---@return string
|
||||
function trim_end(str, char)
|
||||
local char, end_i = char:byte(), nil
|
||||
local char, end_i = char:byte(), 0
|
||||
for i = #str, 1, -1 do
|
||||
if str:byte(i) ~= char then
|
||||
end_i = i
|
||||
|
Reference in New Issue
Block a user