pkgsrc/www/firefox/patches/patch-ck
ghen 800ce59e41 Update to Firefox 2.0.0.3 (nb1), from www/firefox2* (see there for history
and change notes).  Firefox 1.5.0.x will be maintained in www/firefox15*,
as discussed on tech-pkg.
2007-05-12 13:53:07 +00:00

20 lines
1 KiB
Text

$NetBSD: patch-ck,v 1.6 2007/05/12 13:53:10 ghen Exp $
diff -ruN ../Orig/mozilla/extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp ./extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp
--- ../Orig/mozilla/extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp 2004-06-17 09:12:44.000000000 +0900
+++ ./extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp 2005-12-04 19:43:07.000000000 +0900
@@ -114,12 +114,12 @@
return aContext->recycler()->getStringResult(format->mNaN, aResult);
}
- if (value == Double::POSITIVE_INFINITY) {
+ if (value == Double::PositiveInfinity()) {
return aContext->recycler()->getStringResult(format->mInfinity,
aResult);
}
- if (value == Double::NEGATIVE_INFINITY) {
+ if (value == Double::NegativeInfinity()) {
nsAutoString res;
res.Append(format->mMinusSign);
res.Append(format->mInfinity);