summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 07:29:46 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-15 07:29:46 +0800
commit7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a (patch)
tree749e51a52c970749e8f07d116702e9fd63bf8555
parent752922d0d15d9500a1fe3c95fe819744f8acd129 (diff)
downloadpttbbs-7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a.tar
pttbbs-7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a.tar.gz
pttbbs-7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a.tar.bz2
pttbbs-7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a.tar.lz
pttbbs-7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a.tar.xz
pttbbs-7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a.tar.zst
pttbbs-7bfc8c88e1aac48dc9089f52abc36c8d2a70f36a.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 4560f132..259e5639 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -588,8 +588,8 @@ do_general(int isbid)
strncpy(ctype[i],bp->posttype+4*i,4);
if(i==0) i=8;
for(aborted=0; aborted<i; aborted++)
- prints("%d.%4.4s ", i+1, ctype[aborted]);
- sprintf(buf,"(1-%d或不選)",i);
+ prints("%d.%4.4s ", aborted+1, ctype[aborted]);
+ sprintf(buf,"(1-%d或不選)",i+1);
getdata(21, 6+7*i, buf, save_title, 3, LCECHO);
posttype = save_title[0] - '1';
if (posttype >= 0 && posttype <= 6)
@@ -631,7 +631,7 @@ do_general(int isbid)
else if(posttype && (1<<posttype & bp->posttype_f))
{
setbnfile(genbuf, bp->brdname, "postsample", posttype);
- Copy(genbuf,fpath);
+ Copy(genbuf, fpath);
}
aborted = vedit(fpath, YEA, &islocal);
@@ -866,7 +866,7 @@ b_posttype(int ent, fileheader_t * fhdr, char *direct)
strncpy(genbuf, bp->posttype+i*4, 4);
genbuf[4]=0;
sprintf(title,"%d.",i+1);
- if(!getdata_buf(2,13, title, genbuf, 5, DOECHO)) break;
+ if(!getdata_buf(2,11, title, genbuf, 5, DOECHO)) break;
sprintf(posttype+i*4,"%-4.4s", genbuf);
if( posttype_f & (1<<i) )
{