summaryrefslogtreecommitdiffstats
path: root/mbbsd/read.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-14 19:35:51 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-14 19:35:51 +0800
commit627bad95e53776d5b579a2072627e353ab52dda5 (patch)
tree52261baa4ce5e21ff9f0e329c75518578ca98c8d /mbbsd/read.c
parent4353ce2f6ed88338dbe86f3ca498f6c68b77094d (diff)
downloadpttbbs-627bad95e53776d5b579a2072627e353ab52dda5.tar
pttbbs-627bad95e53776d5b579a2072627e353ab52dda5.tar.gz
pttbbs-627bad95e53776d5b579a2072627e353ab52dda5.tar.bz2
pttbbs-627bad95e53776d5b579a2072627e353ab52dda5.tar.lz
pttbbs-627bad95e53776d5b579a2072627e353ab52dda5.tar.xz
pttbbs-627bad95e53776d5b579a2072627e353ab52dda5.tar.zst
pttbbs-627bad95e53776d5b579a2072627e353ab52dda5.zip
// fix '!' exceeding screen width
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4162 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r--mbbsd/read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c
index 2a509ca8..e239a67b 100644
--- a/mbbsd/read.c
+++ b/mbbsd/read.c
@@ -520,9 +520,11 @@ select_read(const keeploc_t * locmem, int sr_mode)
}
else if(sr_mode & RS_KEYWORD_EXCLUDE)
{
+ // TTLEN width exceed default screen
+ // let's use TTLEN-4 here.
if(!(currmode & MODE_SELECT) ||
!getdata(b_lines, 0, "增加條件 排除標題: ",
- keyword, TTLEN, DOECHO))
+ keyword, TTLEN-4, DOECHO))
return READ_REDRAW;
}
else if (sr_mode & RS_RECOMMEND)