From f048a0771b986a039a84fdc16e8de6270253ae7b Mon Sep 17 00:00:00 2001 From: "dtownsend@oxymoronical.com" Date: Thu, 6 Dec 2007 13:19:16 -0800 Subject: [PATCH] Bug 404773: Find bar doesn't like the letters 'b', 'o', 'd', 'y', and 'random'. s+sr=jst, a=P1 blocking --- embedding/components/find/src/nsFind.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedding/components/find/src/nsFind.cpp b/embedding/components/find/src/nsFind.cpp index 09e95abaab7..23a456bfc85 100644 --- a/embedding/components/find/src/nsFind.cpp +++ b/embedding/components/find/src/nsFind.cpp @@ -960,7 +960,7 @@ nsFind::Find(const PRUnichar *aPatText, nsIDOMRange* aSearchRange, ToLowerCase(patAutoStr); // Ignore soft hyphens in the pattern - static const char kShy[] = { CH_SHY }; + static const char kShy[] = { CH_SHY, 0 }; patAutoStr.StripChars(kShy); const PRUnichar* patStr = patAutoStr.get();