fix bug in partial screen refresh count in crereader

This commit is contained in:
Qingping Hou
2012-04-19 14:14:08 +08:00
parent 9144cabc76
commit bc299784ca

View File

@@ -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")