mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
fixed build bustage.
This commit is contained in:
parent
e2c0081f9f
commit
b078cd272e
@ -976,7 +976,7 @@ nsRenderingContextMac :: GetWidth(const char* aString, PRUint32 aLength, nscoord
|
||||
aWidth = NSToCoordRound(float(textWidth) * mP2T);
|
||||
|
||||
// add a bit for italic
|
||||
switch (font.style)
|
||||
switch (font->style)
|
||||
{
|
||||
case NS_FONT_STYLE_ITALIC:
|
||||
case NS_FONT_STYLE_OBLIQUE:
|
||||
|
Loading…
Reference in New Issue
Block a user