summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-25 15:07:03 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-25 15:07:03 +0800
commit2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4 (patch)
tree8e65b83e79a339dd97404d30edc6504c307a0bdf /mbbsd
parenta0ed66002a8e4637857bac91eddc8fe9ae933c4b (diff)
downloadpttbbs-2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4.tar
pttbbs-2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4.tar.gz
pttbbs-2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4.tar.bz2
pttbbs-2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4.tar.lz
pttbbs-2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4.tar.xz
pttbbs-2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4.tar.zst
pttbbs-2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4.zip
* pmore/movie: fix LO=n timer assignment error (thanks to Explorer09@ptt, PttBug)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/pmore.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index bf714eee..1968f557 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -4025,18 +4025,19 @@ mf_movieProcessCommand(unsigned char *p, unsigned char *end)
// = -> compat24
// - -> ?
// == -> ?
- p++;
- if (p >= end)
+ if (++p >= end)
return end;
if (*p == '=')
{
mfmovie.mode = MFDISP_MOVIE_PLAYING_OLD;
mfmovie.compat24 = 1;
- p++;
+ if (++p >= end)
+ return end;
}
// MFDISP_SKIPCURLINE();
- return p+1;
+ return p;
}
+#if 0
else if (*p == 'L')
{
// LOOP
@@ -4044,6 +4045,7 @@ mf_movieProcessCommand(unsigned char *p, unsigned char *end)
// m times to backward n
break;
}
+#endif
else
{
// end of known control codes