aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xepy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/epy.py b/epy.py
index ac6c128..0917e41 100755
--- a/epy.py
+++ b/epy.py
@@ -1700,7 +1700,7 @@ def reader(ebook, index, width, y, pctg, sect):
svline = y + rows - 1
if y + count <= totlines - rows:
y += count
- elif y == totlines - rows and index != len(contents)-1:
+ elif y >= totlines - rows and index != len(contents)-1:
ANIMATE = "next"
return 1, width, 0, None, ""
else: