From bf437aba148e5a9f3e719ee21b00e41ab75974d5 Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Wed, 25 Jan 2006 02:48:34 +0000 Subject: [PATCH] s/mDPI/mDpi/ typo --- gfx/src/thebes/nsThebesDeviceContext.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/src/thebes/nsThebesDeviceContext.cpp b/gfx/src/thebes/nsThebesDeviceContext.cpp index 59133e27c04..79daa6f7eb3 100644 --- a/gfx/src/thebes/nsThebesDeviceContext.cpp +++ b/gfx/src/thebes/nsThebesDeviceContext.cpp @@ -146,7 +146,7 @@ nsThebesDeviceContext::SetDPI(PRInt32 aPrefDPI) #if defined(MOZ_ENABLE_GTK2) if (mPrinter) { - mDPI = 600; + mDpi = 600; } else { float screenWidthIn = float(::gdk_screen_width_mm()) / 25.4f; OSVal = NSToCoordRound(float(::gdk_screen_width()) / screenWidthIn); @@ -235,8 +235,8 @@ nsThebesDeviceContext::Init(nsNativeWidget aWidget) // XXX if (mPrinter) { - mWidth = mDPI * 8.5; - mHeight = mDPI * 11; + mWidth = mDpi * 8.5; + mHeight = mDpi * 11; } // XXX mDepth = 24;