Fix error in last checkin for bug 344050.

This commit is contained in:
cvshook%sicking.cc 2006-07-19 08:55:36 +00:00
parent b16c49032b
commit e75ee7f41a

View File

@ -1831,7 +1831,7 @@ nsComboboxControlFrame::CreateFrameFor(nsPresContext* aPresContext,
*aFrame = nsnull;
NS_ASSERTION(mDisplayContent, "mDisplayContent can't be null!");
if (mDisplayContent == aContent) {
if (mDisplayContent != aContent) {
// We only handle the frames for mDisplayContent here
return NS_ERROR_FAILURE;
}