summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
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;