fixed build bustage.

This commit is contained in:
michaelp%netscape.com 1998-10-30 05:04:39 +00:00
parent e2c0081f9f
commit b078cd272e

View File

@ -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: