From f9b8fc896ef16681cead6dd7b781cb1c40c4194c Mon Sep 17 00:00:00 2001 From: "shanjian%netscape.com" Date: Fri, 24 May 2002 21:04:32 +0000 Subject: [PATCH] Fix bustage caused by my recent checkin. --- gfx/src/nsGraphicsImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/nsGraphicsImpl.cpp b/gfx/src/nsGraphicsImpl.cpp index 8c91fb8b9b7..87f832581ae 100755 --- a/gfx/src/nsGraphicsImpl.cpp +++ b/gfx/src/nsGraphicsImpl.cpp @@ -152,7 +152,7 @@ NS_IMETHODIMP nsGraphicsImpl::SetFont(const PRUnichar *name, nscoord size) size = NS_STATIC_CAST(nscoord, size * mDev2App); nsAutoString nameString(name); nsFont font(nameString, NS_FONT_STYLE_NORMAL, NS_FONT_VARIANT_NORMAL, NS_FONT_WEIGHT_NORMAL, NS_FONT_DECORATION_NONE, size); - return mRenderer->SetFont(font); + return mRenderer->SetFont(font, nsnull); } NS_IMETHODIMP nsGraphicsImpl::Gsave(void)