summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 07:13:51 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 07:13:51 +0800
commitec08712815235afeeb761b89bc60df69fa74d859 (patch)
treea0bee4ad2efed70c9959756c0d8fb7ba9b2550c8 /mbbsd/bbs.c
parent53c6a3f1f02b5675fbb026dd7fb143fd69624cd0 (diff)
downloadpttbbs-ec08712815235afeeb761b89bc60df69fa74d859.tar
pttbbs-ec08712815235afeeb761b89bc60df69fa74d859.tar.gz
pttbbs-ec08712815235afeeb761b89bc60df69fa74d859.tar.bz2
pttbbs-ec08712815235afeeb761b89bc60df69fa74d859.tar.lz
pttbbs-ec08712815235afeeb761b89bc60df69fa74d859.tar.xz
pttbbs-ec08712815235afeeb761b89bc60df69fa74d859.tar.zst
pttbbs-ec08712815235afeeb761b89bc60df69fa74d859.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 1008afcd..66b5d915 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -588,7 +588,7 @@ do_general(int isbid)
if(i==0) i=8;
for(aborted=0; aborted<i; aborted++)
prints("%d.%4.4s ", i+1, ctype[i]);
- prints(buf,"(1-%d或不選)",i);
+ sprints(buf,"(1-%d或不選)",i);
getdata(21, 6+7*i, buf, save_title, 3, LCECHO);
local_article = save_title[0] - '1';
if (local_article >= 0 && local_article <= 6)
@@ -854,11 +854,11 @@ b_posttype(int ent, fileheader_t * fhdr, char *direct)
for(i=0; i<8; i++)
{
move(2,0);
- outs("文章種類:");
+ outs("文章種類: ");
strncpy(genbuf, bp->posttype+i*4, 4);
genbuf[4]=0;
sprintf(title,"%d.",i+1);
- if(!getdata_buf(2,11, title, genbuf, 5, DOECHO)) break;
+ if(!getdata_buf(2,13, title, genbuf, 5, DOECHO)) break;
sprintf(posttype+i*4,"%-4.4s", genbuf);
if( posttype_f & (1<<i) )
{