mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
Bug 509956 Bogus code in nsTextFrame::IsFloatingFirstLetterChild r=dbaron
This commit is contained in:
parent
5d0e3b32b3
commit
db7a62f0c8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user