From db6d0a9b2f6c404e45547c73db7a7a6698486a10 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 611e2756ffc..8eeb6d332d2 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: