From 6d7ceafffce44f635678e7a3208d4cf2543c34fa Mon Sep 17 00:00:00 2001 From: "disttsc%bart.nl" Date: Fri, 23 Mar 2001 14:36:38 +0000 Subject: [PATCH] Attempt to fix SpeedRacer and Senna bustage --- content/xul/templates/src/nsXULOutlinerBuilder.cpp | 2 +- content/xul/templates/src/nsXULTreeBuilder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/xul/templates/src/nsXULOutlinerBuilder.cpp b/content/xul/templates/src/nsXULOutlinerBuilder.cpp index f491d777ba00..4bfa5ea32981 100644 --- a/content/xul/templates/src/nsXULOutlinerBuilder.cpp +++ b/content/xul/templates/src/nsXULOutlinerBuilder.cpp @@ -1060,7 +1060,7 @@ nsXULOutlinerBuilder::GetTemplateActionCellFor(PRInt32 aRow, nsAutoString ref; child->GetAttribute(kNameSpaceID_None, nsXULAtoms::ref, ref); - if (ref == aColID) { + if (ref.Equals(aColID)) { NS_ADDREF(*aResult = child.get()); return NS_OK; } diff --git a/content/xul/templates/src/nsXULTreeBuilder.cpp b/content/xul/templates/src/nsXULTreeBuilder.cpp index f491d777ba00..4bfa5ea32981 100644 --- a/content/xul/templates/src/nsXULTreeBuilder.cpp +++ b/content/xul/templates/src/nsXULTreeBuilder.cpp @@ -1060,7 +1060,7 @@ nsXULOutlinerBuilder::GetTemplateActionCellFor(PRInt32 aRow, nsAutoString ref; child->GetAttribute(kNameSpaceID_None, nsXULAtoms::ref, ref); - if (ref == aColID) { + if (ref.Equals(aColID)) { NS_ADDREF(*aResult = child.get()); return NS_OK; }