From b078cd272e8089f2ce381fa3e0ebfef86f6f615c Mon Sep 17 00:00:00 2001 From: "michaelp%netscape.com" Date: Fri, 30 Oct 1998 05:04:39 +0000 Subject: [PATCH] fixed build bustage. --- gfx/src/mac/nsRenderingContextMac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/mac/nsRenderingContextMac.cpp b/gfx/src/mac/nsRenderingContextMac.cpp index 611e2756ffc3..8eeb6d332d2f 100644 --- a/gfx/src/mac/nsRenderingContextMac.cpp +++ b/gfx/src/mac/nsRenderingContextMac.cpp @@ -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: