From d512ded55461ccd9e07e9f40eca8c402ff502627 Mon Sep 17 00:00:00 2001 From: mhsin Date: Wed, 7 Jan 2009 14:36:47 +0000 Subject: Fix area calculation for disabled URL querying site. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index a3fcbc76..d4ba1ba8 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -3429,7 +3429,11 @@ view_postinfo(int ent, const fileheader_t * fhdr, const char *direct, int crs_ln aidu_t aidu = 0; int l = crs_ln + 3; /* line of cursor */ int area_l = l + 1; +#ifdef QUERY_ARTICLE_URL const int area_lines = 5; +#else + const int area_lines = 4; +#endif if(!fhdr || fhdr->filename[0] == '.' || !fhdr->filename[0]) return DONOTHING; -- cgit v1.2.3