fix in CREReader:getTocTitleOfCurrentPage

pass xpointer instead of percent
This commit is contained in:
Qingping Hou committed 2012-04-19 10:24:14 +08:00
1 parent e282179793
commit 69cea4f2af
1 file changed
+1 -1
+1 -1
View File
@@ -256,7 +256,7 @@ function CREReader:getTocTitleByPage(page_or_xpoint)
end
function CREReader:getTocTitleOfCurrentPage()
return self:getTocTitleByPage(self.percent)
return self:getTocTitleByPage(self.doc:getXPointer())
end