fix comment in crereader

pull/2/merge
Qingping Hou 12 years ago
parent 69cea4f2af
commit c46266fee8

@ -108,7 +108,7 @@ function CREReader:goto(pos, is_ignore_jump, pos_type)
if pos_type == "xpointer" then
self.doc:gotoXPointer(pos)
pos = self.doc:getCurrentPos()
else -- pos_type is PERCENT * 100
else -- pos_type is position within document
pos = math.min(pos, self.doc:getFullHeight() - height)
pos = math.max(pos, 0)
self.doc:gotoPos(pos)

Loading…
Cancel
Save