diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-08 15:20:10 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-08 15:20:10 +0800 |
commit | 227918f5114406b93524140fe2c22462cac9230c (patch) | |
tree | f032d605934b4b7d88ff0ccc990924f7a38bccd3 | |
parent | de4350f7a94a791a9e4ca1886cc7d711c7dfed9f (diff) | |
download | pttbbs-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |