diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-15 07:29:46 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-15 07:29:46 +0800 |
commit | 892419ece5855317ea3595a94cf5a1d6d1bef63e (patch) | |
tree | 1ee8e98dceaf3344c215dc674203c43de9927e60 /mbbsd | |
parent | c466f3e5e27555767cd786484fcfa6d3e920dd09 (diff) | |
download | pttbbs-892419ece5855317ea3595a94cf5a1d6d1bef63e.tar pttbbs-892419ece5855317ea3595a94cf5a1d6d1bef63e.tar.gz pttbbs-892419ece5855317ea3595a94cf5a1d6d1bef63e.tar.bz2 pttbbs-892419ece5855317ea3595a94cf5a1d6d1bef63e.tar.lz pttbbs-892419ece5855317ea3595a94cf5a1d6d1bef63e.tar.xz pttbbs-892419ece5855317ea3595a94cf5a1d6d1bef63e.tar.zst pttbbs-892419ece5855317ea3595a94cf5a1d6d1bef63e.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 4560f132..259e5639 100644 --- a/mbbsd/bbs.c +++ b/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) ) { |