summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-30 04:56:59 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-30 04:56:59 +0800
commitb5edd925b5d39dcc042c67955ff637eb3666404f (patch)
tree9eab2765075ade899055c8cf7d24e1dce67f8e62 /mbbsd/read.c
parent8cf67fb90827969f788b1c2dbcc1170e1dc81e3f (diff)
downloadpttbbs-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.c3
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;