minor: rename Koreader to KOReader

This commit is contained in:
Qingping Hou
2016-03-27 18:50:23 -07:00
parent 3f2944ee84
commit 467199285f
6 changed files with 14 additions and 14 deletions

View File

@@ -453,7 +453,7 @@ function ReaderHighlight:exportToClippings(page, item)
local current_locale = os.setlocale()
os.setlocale("C")
clippings:write(self.document.file:gsub("(.*/)(.*)", "%2").."\n")
clippings:write("- Koreader Highlight Page "..page.." ")
clippings:write("- KOReader Highlight Page "..page.." ")
clippings:write("| Added on "..os.date("%A, %b %d, %Y %I:%M:%S %p\n\n"))
-- My Clippings only holds one line of highlight
clippings:write(item["text"]:gsub("\n", " ").."\n")

View File

@@ -755,7 +755,7 @@ function ReaderPaging:onGotoPageRel(diff)
-- calculate panning offsets
local panned_x = new_va.x - self.visible_area.x
local panned_y = new_va.y - self.visible_area.y
-- adjust for crazy float point overflow...
-- adjust for crazy floating point overflow...
if math.abs(panned_x) < 1 then
panned_x = 0
end