From 04cb2355b1e950d27c0b2828a16a62e7f9f9354b Mon Sep 17 00:00:00 2001 From: "tglek@mozilla.com" Date: Mon, 12 Nov 2007 14:01:48 -0800 Subject: [PATCH] bug 395822: Use correct String::Find overload r=jonas, a=release drivers --- content/base/src/nsPlainTextSerializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsPlainTextSerializer.cpp b/content/base/src/nsPlainTextSerializer.cpp index 17d9b69e354a..c62529a923f3 100644 --- a/content/base/src/nsPlainTextSerializer.cpp +++ b/content/base/src/nsPlainTextSerializer.cpp @@ -614,7 +614,7 @@ nsPlainTextSerializer::DoOpenContainer(const nsIParserNode* aNode, PRInt32 aTag) // considers 'c' to be a valid numeric char (even if radix=10) // but then gets confused if it sees it next to the number // when the radix specified was 10, and returns an error code. - PRInt32 semiOffset = style.Find("ch", widthOffset+6); + PRInt32 semiOffset = style.Find("ch", PR_FALSE, widthOffset+6); PRInt32 length = (semiOffset > 0 ? semiOffset - widthOffset - 6 : style.Length() - widthOffset); nsAutoString widthstr;