summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-08 15:20:10 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-08 15:20:10 +0800
commit227918f5114406b93524140fe2c22462cac9230c (patch)
treef032d605934b4b7d88ff0ccc990924f7a38bccd3
parentde4350f7a94a791a9e4ca1886cc7d711c7dfed9f (diff)
downloadpttbbs-227918f5114406b93524140fe2c22462cac9230c.tar
pttbbs-227918f5114406b93524140fe2c22462cac9230c.tar.gz
pttbbs-227918f5114406b93524140fe2c22462cac9230c.tar.bz2
pttbbs-227918f5114406b93524140fe2c22462cac9230c.tar.lz
pttbbs-227918f5114406b93524140fe2c22462cac9230c.tar.xz
pttbbs-227918f5114406b93524140fe2c22462cac9230c.tar.zst
pttbbs-227918f5114406b93524140fe2c22462cac9230c.zip
ignore 0 from network
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1471 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 97ddb35d..30a4a99f 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -639,7 +639,8 @@ igetkey()
mode = last = 0;
while (1) {
- ch = igetch();
+ if( !(ch = igetch()) )
+ continue;
if (mode == 0) {
if (ch == KEY_ESC)
mode = 1;