pkgsrc/www/seamonkey/patches/patch-cl
ghen 1e320db38d Import Mozilla Seamonkey 1.0 from pkgsrc-wip (gtk2 version). Seamonkey is
the community-driven continuation of the Mozilla Suite, which is no longer
maintained by Mozilla.
2006-03-30 19:15:38 +00:00

31 lines
1.2 KiB
Text

$NetBSD: patch-cl,v 1.1.1.1 2006/03/30 19:15:51 ghen Exp $
--- extensions/transformiix/source/xslt/txStylesheetCompileHandlers.cpp.orig 2005-01-24 11:50:39.000000000 +0100
+++ extensions/transformiix/source/xslt/txStylesheetCompileHandlers.cpp
@@ -279,7 +279,7 @@ getNumberAttr(txStylesheetAttr* aAttribu
txStylesheetCompilerState& aState,
double& aNumber)
{
- aNumber = Double::NaN;
+ aNumber = Double::NaN();
txStylesheetAttr* attr = nsnull;
nsresult rv = getStyleAttr(aAttributes, aAttrCount, kNameSpaceID_None,
aName, aRequired, &attr);
@@ -500,7 +500,7 @@ txFnStartLREStylesheet(PRInt32 aNamespac
NS_ENSURE_SUCCESS(rv, rv);
txExpandedName nullExpr;
- double prio = Double::NaN;
+ double prio = Double::NaN();
nsAutoPtr<txPattern> match(new txRootPattern());
NS_ENSURE_TRUE(match, NS_ERROR_OUT_OF_MEMORY);
@@ -1060,7 +1060,7 @@ txFnStartTemplate(PRInt32 aNamespaceID,
aState, mode);
NS_ENSURE_SUCCESS(rv, rv);
- double prio = Double::NaN;
+ double prio = Double::NaN();
rv = getNumberAttr(aAttributes, aAttrCount, txXSLTAtoms::priority,
PR_FALSE, aState, prio);
NS_ENSURE_SUCCESS(rv, rv);