summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-01-26 21:54:05 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-01-26 21:54:05 +0800
commit8e3b96e1caf68d76230329d99e8e06233f822991 (patch)
tree539c326b02a174be07d420c8a886fa8da2e7c151
parente0324d5a88d6ec9817607bc4d7555be94a167090 (diff)
downloadpttbbs-8e3b96e1caf68d76230329d99e8e06233f822991.tar
pttbbs-8e3b96e1caf68d76230329d99e8e06233f822991.tar.gz
pttbbs-8e3b96e1caf68d76230329d99e8e06233f822991.tar.bz2
pttbbs-8e3b96e1caf68d76230329d99e8e06233f822991.tar.lz
pttbbs-8e3b96e1caf68d76230329d99e8e06233f822991.tar.xz
pttbbs-8e3b96e1caf68d76230329d99e8e06233f822991.tar.zst
pttbbs-8e3b96e1caf68d76230329d99e8e06233f822991.zip
Add NIOS support into pmore
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5525 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/pmore.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/pmore.c b/pttbbs/mbbsd/pmore.c
index 9b3f7b28..fa25e3f8 100644
--- a/pttbbs/mbbsd/pmore.c
+++ b/pttbbs/mbbsd/pmore.c
@@ -3174,7 +3174,11 @@ mf_movieWaitKey(struct timeval *ptv, int dorefresh)
// if already something in queue,
// detemine if ok to break.
#ifdef PMORE_HAVE_NUMINBUF
- while ( num_in_buf() > 0)
+#ifdef EXP_NIOS
+ while (vkey_is_typeahead())
+#else
+ while (num_in_buf() > 0)
+#endif
{
if (!mf_movieMaskedInput((c = vkey())))
return c;