From 65672e8575219894a245147d5402300d23f4f15a Mon Sep 17 00:00:00 2001 From: "bryner%netscape.com" Date: Thu, 10 Apr 2003 00:40:32 +0000 Subject: [PATCH] fix bustage when freetype is not present at compile time. --- gfx/src/x11shared/nsFT2FontCatalog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gfx/src/x11shared/nsFT2FontCatalog.cpp b/gfx/src/x11shared/nsFT2FontCatalog.cpp index 4d893662a4f6..f053116c50f6 100644 --- a/gfx/src/x11shared/nsFT2FontCatalog.cpp +++ b/gfx/src/x11shared/nsFT2FontCatalog.cpp @@ -119,9 +119,11 @@ nsIPref* nsFT2FontCatalog::sPref = nsnull; NS_IMPL_ISUPPORTS1(nsFT2FontCatalog, nsIFontCatalogService) nsFT2FontCatalog::nsFT2FontCatalog() +#ifdef MOZ_ENABLE_FREETYPE2 : mFontCatalog(nsnull), mRange1Language(nsnull), mRange2Language(nsnull) +#endif { #if (defined(MOZ_ENABLE_FREETYPE2)) nsresult rv;