diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-26 10:39:11 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-26 10:39:11 +0800 |
commit | 38fff347b70f913ca80942e63e5f3f1bdb2e654c (patch) | |
tree | fb515d542fb247f827537dfe17a126280325b03c | |
parent | 0c330670897b02eb09a2f9b6dcb318825fd824d0 (diff) | |
download | pttbbs-38fff347b70f913ca80942e63e5f3f1bdb2e654c.tar pttbbs-38fff347b70f913ca80942e63e5f3f1bdb2e654c.tar.gz pttbbs-38fff347b70f913ca80942e63e5f3f1bdb2e654c.tar.bz2 pttbbs-38fff347b70f913ca80942e63e5f3f1bdb2e654c.tar.lz pttbbs-38fff347b70f913ca80942e63e5f3f1bdb2e654c.tar.xz pttbbs-38fff347b70f913ca80942e63e5f3f1bdb2e654c.tar.zst pttbbs-38fff347b70f913ca80942e63e5f3f1bdb2e654c.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index cea57c3e..e37f96da 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.28 2002/05/26 01:45:06 ptt Exp $ */ +/* $Id: bbs.c,v 1.29 2002/05/26 02:39:11 ptt Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -473,7 +473,7 @@ static int do_general() { "種類:1.問題 2.建議 3.討論 4.心得 5.閒聊 6.公告 7.情報 (1-7或不選)", save_title,3,LCECHO); local_article = save_title[0]-'1'; - if(local_article>=0 && local_article<=7) + if(local_article>=0 && local_article<=6) sprintf(save_title,"[%s] ",ctype[local_article]); else save_title[0]='\0'; |