Bug 509956 Bogus code in nsTextFrame::IsFloatingFirstLetterChild r=dbaron

This commit is contained in:
Masayuki Nakano 2009-08-18 13:46:47 +09:00
parent 5d0e3b32b3
commit db7a62f0c8

View File

@ -5922,7 +5922,7 @@ nsTextFrame::SetLength(PRInt32 aLength)
PRBool
nsTextFrame::IsFloatingFirstLetterChild()
{
if (!GetStateBits() & TEXT_FIRST_LETTER)
if (!(GetStateBits() & TEXT_FIRST_LETTER))
return PR_FALSE;
nsIFrame* frame = GetParent();
if (!frame || frame->GetType() != nsGkAtoms::letterFrame)