From 9304eaf97899a5848b9a133ff51fc2037b034969 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 f491d777ba0..4bfa5ea3298 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 f491d777ba0..4bfa5ea3298 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; }