summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-ck
blob: f253c9592cbffd504104d704799578e3b08ae638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-ck,v 1.4 2005/09/22 14:14:04 jlam Exp $

--- extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp.orig	2003-06-16 22:31:17.000000000 +0000
+++ extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp
@@ -112,12 +112,12 @@ txFormatNumberFunctionCall::evaluate(txI
         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);