diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-25 15:07:03 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-25 15:07:03 +0800 |
commit | b159c8fe4bf401831ebceaf45269f99bee604b3c (patch) | |
tree | 69562f77e3c4882b8c5c00cf9514dd13432132b2 | |
parent | d40a0fdc6aca9139a17a418c5ae69b222f5c72fe (diff) | |
download | pttbbs-b159c8fe4bf401831ebceaf45269f99bee604b3c.tar pttbbs-b159c8fe4bf401831ebceaf45269f99bee604b3c.tar.gz pttbbs-b159c8fe4bf401831ebceaf45269f99bee604b3c.tar.bz2 pttbbs-b159c8fe4bf401831ebceaf45269f99bee604b3c.tar.lz pttbbs-b159c8fe4bf401831ebceaf45269f99bee604b3c.tar.xz pttbbs-b159c8fe4bf401831ebceaf45269f99bee604b3c.tar.zst pttbbs-b159c8fe4bf401831ebceaf45269f99bee604b3c.zip |
* pmore/movie: fix LO=n timer assignment error (thanks to Explorer09@ptt, PttBug)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4773 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/pmore.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pttbbs/mbbsd/pmore.c b/pttbbs/mbbsd/pmore.c index bf714eee..1968f557 100644 --- a/pttbbs/mbbsd/pmore.c +++ b/pttbbs/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 |