summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index fde26f3a..a5829555 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -3085,6 +3085,9 @@ mf_movieGotoFrame(int fno, int relative)
mf_forward(1);
} while (fno > 0);
} else {
+ // For backward, the first call moves to beginning of file.
+ if (mf_backward(1) < 1)
+ return 0;
// backward
// XXX check if we reached head?
while (fno < 0)