summaryrefslogtreecommitdiffstats
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
commit4cb5573233476285e14b4ee13487d981f0f9dd22 (patch)
tree8ccef3956ffc80596c9851516ddf272f75bf6f14
parent6dbe32ef407d6fc21cc0117decc0aea0f362741b (diff)
downloadpttbbs-4cb5573233476285e14b4ee13487d981f0f9dd22.tar
pttbbs-4cb5573233476285e14b4ee13487d981f0f9dd22.tar.gz
pttbbs-4cb5573233476285e14b4ee13487d981f0f9dd22.tar.bz2
pttbbs-4cb5573233476285e14b4ee13487d981f0f9dd22.tar.lz
pttbbs-4cb5573233476285e14b4ee13487d981f0f9dd22.tar.xz
pttbbs-4cb5573233476285e14b4ee13487d981f0f9dd22.tar.zst
pttbbs-4cb5573233476285e14b4ee13487d981f0f9dd22.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1338 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 1008afcd..66b5d915 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/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) )
{