summaryrefslogtreecommitdiff
path: root/www/seamonkey/patches/patch-ck
blob: 173b9206bf3f249af541740981520523de1da28e (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.1.1.1 2006/03/30 19:15:51 ghen Exp $

--- extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp.orig	2004-06-17 02:12:44.000000000 +0200
+++ extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp
@@ -114,12 +114,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);