mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 963198 - Don't mix up byte-size and array-length - r=tn
This commit is contained in:
parent
1de6ea2af7
commit
fd9534c86b
@ -799,7 +799,7 @@ void nsDisplayNotation::Paint(nsDisplayListBuilder* aBuilder,
|
||||
rect.TopRight() + gfxPoint(std::min(e / 2.0, -w + .4*h), h + .4*w),
|
||||
rect.TopRight()
|
||||
};
|
||||
gfxCtx->Polygon(p, sizeof(p));
|
||||
gfxCtx->Polygon(p, MOZ_ARRAY_LENGTH(p));
|
||||
gfxCtx->Fill();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user