summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-24 22:54:47 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-10-24 22:54:47 +0800
commit6c2748bc7397d765d1f7510cdbef92f0174df72e (patch)
tree50244855550f61a3dcb5cfd1497c6916133ccd9f
parent81e63db3261047dc0a470f4ab3ad8649a9339737 (diff)
downloadpttbbs-6c2748bc7397d765d1f7510cdbef92f0174df72e.tar
pttbbs-6c2748bc7397d765d1f7510cdbef92f0174df72e.tar.gz
pttbbs-6c2748bc7397d765d1f7510cdbef92f0174df72e.tar.bz2
pttbbs-6c2748bc7397d765d1f7510cdbef92f0174df72e.tar.lz
pttbbs-6c2748bc7397d765d1f7510cdbef92f0174df72e.tar.xz
pttbbs-6c2748bc7397d765d1f7510cdbef92f0174df72e.tar.zst
pttbbs-6c2748bc7397d765d1f7510cdbef92f0174df72e.zip
* strip blanks in chat window
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4980 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/ccw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/ccw.c b/pttbbs/mbbsd/ccw.c
index 03ad8dda..cad58b98 100644
--- a/pttbbs/mbbsd/ccw.c
+++ b/pttbbs/mbbsd/ccw.c
@@ -427,6 +427,7 @@ ccw_process(CCW_CTX *ctx)
// quick continue for empty input
trim(inbuf);
+ strip_blank(inbuf, inbuf);
if (!*inbuf)
continue;