Bug 404773: Find bar doesn't like the letters 'b', 'o', 'd', 'y', and

'random'. s+sr=jst, a=P1 blocking


git-svn-id: svn://10.0.0.236/trunk@240588 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dtownsend%oxymoronical.com 2007-12-06 21:19:16 +00:00
parent 4ee9bbb497
commit 507f03d1b2

View File

@ -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();