From ed8589f41af785141d4c63e4826f4b15b1e46188 Mon Sep 17 00:00:00 2001 From: Taras Glek Date: Wed, 21 Apr 2010 17:07:44 -0700 Subject: [PATCH] Bug 560897: close #pragma pack r=roc --HG-- extra : rebase_source : 22e464f28ac79681b13c46fa213a81faa7e87d91 --- gfx/thebes/src/gfxFontUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx/thebes/src/gfxFontUtils.cpp b/gfx/thebes/src/gfxFontUtils.cpp index 3e3a79e5c14..34a8459d182 100644 --- a/gfx/thebes/src/gfxFontUtils.cpp +++ b/gfx/thebes/src/gfxFontUtils.cpp @@ -487,7 +487,7 @@ typedef struct { AutoSwap_PRUint16 arrays[1]; } Format4Cmap; - +#pragma pack() PRUint32 gfxFontUtils::MapCharToGlyphFormat4(const PRUint8 *aBuf, PRUnichar aCh) { @@ -773,6 +773,7 @@ struct KernTableSubtableHeaderVersion1 { AutoSwap_PRUint16 tupleIndex; }; +#pragma pack() static PRBool IsValidSFNTVersion(PRUint32 version) {