diff options
author | mhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-01-07 22:36:47 +0800 |
---|---|---|
committer | mhsin <mhsin@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-01-07 22:36:47 +0800 |
commit | d512ded55461ccd9e07e9f40eca8c402ff502627 (patch) | |
tree | 1598704ada69e0113638a6769fde690d8ab44275 | |
parent | ecc760d70061e6c61bbd43daab19cd18dac9e309 (diff) | |
download | pttbbs-d512ded55461ccd9e07e9f40eca8c402ff502627.tar pttbbs-d512ded55461ccd9e07e9f40eca8c402ff502627.tar.gz pttbbs-d512ded55461ccd9e07e9f40eca8c402ff502627.tar.bz2 pttbbs-d512ded55461ccd9e07e9f40eca8c402ff502627.tar.lz pttbbs-d512ded55461ccd9e07e9f40eca8c402ff502627.tar.xz pttbbs-d512ded55461ccd9e07e9f40eca8c402ff502627.tar.zst pttbbs-d512ded55461ccd9e07e9f40eca8c402ff502627.zip |
Fix area calculation for disabled URL querying site.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/bbs.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |