From f004f67c315d514e5249a7ad498a6d1399f62f1f Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Tue, 6 Jun 2000 23:09:18 +0000 Subject: [PATCH] fix case insensitive search comparisons, r=alecf 33100 and 41633 --- mailnews/base/search/src/nsMsgSearchTerm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailnews/base/search/src/nsMsgSearchTerm.cpp b/mailnews/base/search/src/nsMsgSearchTerm.cpp index ceda11967f3b..6426f6b0cbfb 100644 --- a/mailnews/base/search/src/nsMsgSearchTerm.cpp +++ b/mailnews/base/search/src/nsMsgSearchTerm.cpp @@ -801,12 +801,12 @@ nsresult nsMsgSearchTerm::MatchString (const char *stringToMatch, { case nsMsgSearchOp::Contains: if ((nsnull != n_header) && ((n_str.GetBuffer())[0]) && /* INTL_StrContains(csid, n_header, n_str) */ - PL_strstr(stringToMatch, n_str)) + PL_strcasestr(stringToMatch, n_str)) result = PR_TRUE; break; case nsMsgSearchOp::DoesntContain: if ((nsnull != n_header) && ((n_str.GetBuffer())[0]) && /* !INTL_StrContains(csid, n_header, n_str) */ - !PL_strstr(stringToMatch, n_str)) + !PL_strcasestr(stringToMatch, n_str)) result = PR_TRUE; break; case nsMsgSearchOp::Is: