mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fixed wrong escape sequences in strings
again, LuaJIT will choke on these, Lua-5.1.n did just ignore them
This commit is contained in:
@@ -9,7 +9,7 @@ function DocToHistory(fullname)
|
||||
j = i
|
||||
end
|
||||
local f = string.sub(fullname,j+1,-1)
|
||||
if j>0 then return "./history/\["..string.gsub(string.sub(fullname,1,j),"/","#").."\] "..f..".lua"
|
||||
if j>0 then return "./history/["..string.gsub(string.sub(fullname,1,j),"/","#").."] "..f..".lua"
|
||||
else return "./settings"..f..".lua" end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user