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:
HW
2012-06-03 01:52:16 +02:00
parent b07470535f
commit e35339a398
6 changed files with 18 additions and 18 deletions

View File

@@ -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