diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-06 22:49:08 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-09-06 22:49:08 +0800 |
commit | 471a65e552f18963ef2fa976663bdb61f9c8236c (patch) | |
tree | eafd56689d9da646d682113c6c0f4c6ca302fee6 /mbbsd/stuff.c | |
parent | e22d3269f7d450ba90e42073943fc16bcc81a568 (diff) | |
download | pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar.gz pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.tar.zst pttbbs-471a65e552f18963ef2fa976663bdb61f9c8236c.zip |
code cleanup
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index 80428954..9f13b2ef 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -1,4 +1,4 @@ -/* $Id: stuff.c,v 1.13 2003/07/20 00:55:34 in2 Exp $ */ +/* $Id$ */ #include "bbs.h" /* ----------------------------------------------------- */ @@ -158,8 +158,7 @@ trim(char *buf) int isprint2(char ch) { - return ((ch & 0x80) ? 1 : isprint(ch)); - //return 1; + return ((ch & 0x80) || isprint(ch)); } int |