summaryrefslogtreecommitdiff
path: root/www/mozilla/patches/patch-ck
blob: deef2325ac12b0492b5e38b639b2312887649839 (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.3 2005/06/22 22:05:34 martin Exp $

--- extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp.orig	2003-06-17 00:31:17.000000000 +0200
+++ extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp	2005-06-16 10:06:22.000000000 +0200
@@ -112,12 +112,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);