Fix type from last checkin for bug 341747

This commit is contained in:
aaronleventhal%moonset.net 2006-07-17 16:10:22 +00:00
parent 93dd71aa91
commit 191ba1b3f2

View File

@ -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;