diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-27 10:51:17 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-27 10:51:17 +0800 |
commit | ecc0526f295eb4bf9ba07112efd3bca9d710e771 (patch) | |
tree | 11c93435749d400df1a9eb6bbad087789872fc12 /mbbsd | |
parent | 661092f8bac808fd4e4e8e7b19880dfeefaa57bd (diff) | |
download | pttbbs-ecc0526f295eb4bf9ba07112efd3bca9d710e771.tar pttbbs-ecc0526f295eb4bf9ba07112efd3bca9d710e771.tar.gz pttbbs-ecc0526f295eb4bf9ba07112efd3bca9d710e771.tar.bz2 pttbbs-ecc0526f295eb4bf9ba07112efd3bca9d710e771.tar.lz pttbbs-ecc0526f295eb4bf9ba07112efd3bca9d710e771.tar.xz pttbbs-ecc0526f295eb4bf9ba07112efd3bca9d710e771.tar.zst pttbbs-ecc0526f295eb4bf9ba07112efd3bca9d710e771.zip |
buggy fix for last select_read
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1869 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index df408485..1550751b 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -348,7 +348,7 @@ select_read(keeploc_t * locmem, int sr_mode) { if(!getdata_str(b_lines, 0, currmode & MODE_SELECT ? "增加條件 標題:":"搜尋標題:", - keyword, TTLEN, DOECHO, fh->title)) + keyword, TTLEN, DOECHO, subject(fh->title))) return READ_REDRAW; } else if(sr_mode & RS_TITLE) @@ -381,7 +381,7 @@ select_read(keeploc_t * locmem, int sr_mode) else if(sr_mode & RS_AUTHOR && strcasestr(fhs[i].owner, keyword)) continue; else if(sr_mode & RS_KEYWORD && - !strcasestr(fhs[i].title, keyword)) continue; + strcasestr(fhs[i].title, keyword)) continue; else if(sr_mode & RS_TITLE && strcmp(subject(fhs[i].title), keyword)) continue; |