Bug 404773: Find bar doesn't like the letters 'b', 'o', 'd', 'y', and 'random'. s+sr=jst, a=P1 blocking

This commit is contained in:
dtownsend@oxymoronical.com 2007-12-06 13:19:16 -08:00
parent 9145ac9e42
commit f048a0771b

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