From 7a179cfe09f3954c8db9a68cd1d0a08b1336c996 Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Thu, 28 Oct 1999 21:20:40 +0000 Subject: [PATCH] fix mac build bustage git-svn-id: svn://10.0.0.236/trunk@52122 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/base/search/src/nsMsgSearchTerm.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mozilla/mailnews/base/search/src/nsMsgSearchTerm.cpp b/mozilla/mailnews/base/search/src/nsMsgSearchTerm.cpp index ad2eb0ee8d5..66060f6ecd5 100644 --- a/mozilla/mailnews/base/search/src/nsMsgSearchTerm.cpp +++ b/mozilla/mailnews/base/search/src/nsMsgSearchTerm.cpp @@ -722,7 +722,8 @@ nsresult nsMsgSearchTerm::MatchBody (nsMsgSearchScopeTerm *scope, PRUint32 offse } #endif } - if (*compare != CR && *compare != LF) + char startChar = (char) compare.CharAt(0); + if (startChar != CR && startChar != LF) { err = MatchString (&compare, nsnull, PR_TRUE, &result); lines++;