summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-14 08:19:19 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-14 08:19:19 +0800
commitf1bc6dac35a6a45533c32ec3d0d52af01c07fd34 (patch)
tree1a7d6b2b85604e07363484133a2cdaf65fae681d /mbbsd/read.c
parent5cc7bc90b800ee37896ce320c08ff755ac261692 (diff)
downloadpttbbs-f1bc6dac35a6a45533c32ec3d0d52af01c07fd34.tar
pttbbs-f1bc6dac35a6a45533c32ec3d0d52af01c07fd34.tar.gz
pttbbs-f1bc6dac35a6a45533c32ec3d0d52af01c07fd34.tar.bz2
pttbbs-f1bc6dac35a6a45533c32ec3d0d52af01c07fd34.tar.lz
pttbbs-f1bc6dac35a6a45533c32ec3d0d52af01c07fd34.tar.xz
pttbbs-f1bc6dac35a6a45533c32ec3d0d52af01c07fd34.tar.zst
pttbbs-f1bc6dac35a6a45533c32ec3d0d52af01c07fd34.zip
small bug of direct
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1756 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 38f3cd83..a0302cdf 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -825,7 +825,7 @@ i_read(int cmdmode, char *direct, void (*dotitle) (), void (*doentry) (), onekey
setbottomtotal(currbid);
last_line = get_num_records(currdirect, FHSZ);
}
- sprintf(directbottom, "%s.bottom", direct);
+ sprintf(directbottom, "%s.bottom", currdirect);
bottom_line = last_line;
last_line += (n_bottom = getbottomtotal(currbid));
}
@@ -1008,6 +1008,7 @@ i_read(int cmdmode, char *direct, void (*dotitle) (), void (*doentry) (), onekey
else
#endif
{
+ sprintf(directbottom, "%s.bottom", direct);
entries = get_records(currdirect, headers, FHSZ, recbase,
p_lines);
if( entries>=0 && entries<p_lines && n_bottom)