From 7efeed2ec591171e5e7cbd9bf881f8d1d80eafd2 Mon Sep 17 00:00:00 2001 From: "rjc%netscape.com" Date: Sat, 4 Dec 1999 10:55:00 +0000 Subject: [PATCH] Testing indicates that we should never trim the resultItemEndStr. git-svn-id: svn://10.0.0.236/trunk@55287 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/suite/browser/src/nsInternetSearchService.cpp | 3 ++- mozilla/xpfe/components/search/src/nsInternetSearchService.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/suite/browser/src/nsInternetSearchService.cpp b/mozilla/suite/browser/src/nsInternetSearchService.cpp index 5a34baae788..f4f46b17e9d 100755 --- a/mozilla/suite/browser/src/nsInternetSearchService.cpp +++ b/mozilla/suite/browser/src/nsInternetSearchService.cpp @@ -2295,7 +2295,8 @@ InternetSearchDataSourceCallback::OnStopRequest(nsIChannel* channel, nsISupports } } - PRBool trimItemEnd = PR_TRUE; + PRBool trimItemEnd = PR_FALSE; // rjc note: testing shows we should NEVER trim??? + // if resultItemEndStr is not specified, try making it the same as resultItemStartStr if (resultItemEndStr.Length() < 1) { diff --git a/mozilla/xpfe/components/search/src/nsInternetSearchService.cpp b/mozilla/xpfe/components/search/src/nsInternetSearchService.cpp index 5a34baae788..f4f46b17e9d 100755 --- a/mozilla/xpfe/components/search/src/nsInternetSearchService.cpp +++ b/mozilla/xpfe/components/search/src/nsInternetSearchService.cpp @@ -2295,7 +2295,8 @@ InternetSearchDataSourceCallback::OnStopRequest(nsIChannel* channel, nsISupports } } - PRBool trimItemEnd = PR_TRUE; + PRBool trimItemEnd = PR_FALSE; // rjc note: testing shows we should NEVER trim??? + // if resultItemEndStr is not specified, try making it the same as resultItemStartStr if (resultItemEndStr.Length() < 1) {