2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

return only one value in ReaderToc:cleanUpTocTitle(title)

This commit is contained in:
Qingping Hou 2012-09-17 20:21:03 -04:00
parent 25af917170
commit dfff1906fd

View File

@ -8,7 +8,7 @@ ReaderToc = InputContainer:new{
}
function ReaderToc:cleanUpTocTitle(title)
return title:gsub("\13", "")
return (title:gsub("\13", ""))
end
function ReaderToc:onSetDimensions(dimen)