From 191ba1b3f2a060036cf3c11f786e9c4421b0ddb4 Mon Sep 17 00:00:00 2001 From: "aaronleventhal%moonset.net" Date: Mon, 17 Jul 2006 16:10:22 +0000 Subject: [PATCH] Fix type from last checkin for bug 341747 --- accessible/src/msaa/nsAccessibleWrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/src/msaa/nsAccessibleWrap.cpp b/accessible/src/msaa/nsAccessibleWrap.cpp index 00dbeee7fdaa..5cadce240ea0 100644 --- a/accessible/src/msaa/nsAccessibleWrap.cpp +++ b/accessible/src/msaa/nsAccessibleWrap.cpp @@ -459,7 +459,7 @@ STDMETHODIMP nsAccessibleWrap::get_accRole( NS_ASSERTION(content, "No content for accessible"); if (content && content->IsNodeOfType(nsINode::eELEMENT)) { nsAutoString roleString; - if (msaaRole != ROLE_CLIENT && GetRoleAttribute(content, roleString)) { + if (msaaRole != ROLE_SYSTEM_CLIENT && !GetRoleAttribute(content, roleString)) { nsINodeInfo *nodeInfo = content->NodeInfo(); nodeInfo->GetName(roleString); nsAutoString nameSpaceURI;