This commit is contained in:
kipp
1998-07-11 03:49:17 +00:00
parent 728cf24f98
commit 0b3a87e06a
2 changed files with 4 additions and 8 deletions

View File

@@ -107,9 +107,7 @@ NS_METHOD nsHTMLContainerFrame::GetCursorAt(nsIPresContext& aPresContext,
PRInt32 myCursor = styleColor->mCursor;
// Get child's cursor, if any
nsresult rv = nsContainerFrame::GetCursorAt(aPresContext, aPoint, aFrame,
aCursor);
if (NS_OK != rv) return rv;
nsContainerFrame::GetCursorAt(aPresContext, aPoint, aFrame, aCursor);
if (aCursor != NS_STYLE_CURSOR_INHERIT) {
nsIAtom* tag = mContent->GetTag();
if (nsHTMLAtoms::a == tag) {
@@ -120,7 +118,7 @@ NS_METHOD nsHTMLContainerFrame::GetCursorAt(nsIPresContext& aPresContext,
}
}
NS_RELEASE(tag);
return rv;
return NS_OK;
}
if (NS_STYLE_CURSOR_INHERIT != myCursor) {