Fixing bustage

This commit is contained in:
aaronleventhal%moonset.net 2006-06-21 13:40:51 +00:00
parent 907b9a5d54
commit 7e684f576e

View File

@ -274,7 +274,7 @@ NS_IMETHODIMP nsAccessibleWrap::GetNativeInterface(void **aOutAccessible)
{
*aOutAccessible = nsnull;
if (HasRole(this, ROLE_TEXT_LEAF)) {
if (Role(this) == ROLE_TEXT_LEAF) {
// We don't create ATK objects for nsIAccessible plain text leaves
return NS_ERROR_FAILURE;
}