diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-30 04:56:59 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-30 04:56:59 +0800 |
commit | b5edd925b5d39dcc042c67955ff637eb3666404f (patch) | |
tree | 9eab2765075ade899055c8cf7d24e1dce67f8e62 /mbbsd/read.c | |
parent | 8cf67fb90827969f788b1c2dbcc1170e1dc81e3f (diff) | |
download | pttbbs-b5edd925b5d39dcc042c67955ff637eb3666404f.tar pttbbs-b5edd925b5d39dcc042c67955ff637eb3666404f.tar.gz pttbbs-b5edd925b5d39dcc042c67955ff637eb3666404f.tar.bz2 pttbbs-b5edd925b5d39dcc042c67955ff637eb3666404f.tar.lz pttbbs-b5edd925b5d39dcc042c67955ff637eb3666404f.tar.xz pttbbs-b5edd925b5d39dcc042c67955ff637eb3666404f.tar.zst pttbbs-b5edd925b5d39dcc042c67955ff637eb3666404f.zip |
remove getindex
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1894 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r-- | mbbsd/read.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index ab5307b5..3bb7219c 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -463,8 +463,7 @@ i_read_key(onekey_t * rcmdlist, keeploc_t * locmem, board_select(); setbdir(genbuf, currboard); locmem = getkeep(genbuf, 0, 1); - locmem->crs_ln = - getindex(genbuf, fhdr->filename, sizeof(fileheader_t)); + locmem->crs_ln = fhdr->money & ~FHR_REFERENCE; num = locmem->crs_ln - p_lines + 1; locmem->top_ln = num < 1 ? 1 : num; mode = NEWDIRECT; |