fix bug in partial screen refresh count in crereader

pull/2/merge
Qingping Hou 12 years ago
parent 9144cabc76
commit bc299784ca

@ -134,9 +134,9 @@ function CREReader:goto(pos, is_ignore_jump, pos_type)
end
self.show_overlap = 0
if self.rcount == self.rcountmax then
if self.rcount >= self.rcountmax then
debug("full refresh")
self.rcount = 1
self.rcount = 0
fb:refresh(0)
else
debug("partial refresh")

Loading…
Cancel
Save