Bug 376434: avoid using a different type so that MSVC can pack the bitfields properly, patch by Taras Glek <tglek@mozilla.com>, r=roc
authorgavin@gavinsharp.com
Thu, 10 May 2007 12:37:39 -0700
changeset 1348 1fbbf6d6afe15c20697cc278a72649999239729a
parent 1347 ff337101b62687cfd9ec578bb0eda7a210524b29
child 1349 a54ae3f1470b868041eb67d4d42003dd44aecb0c
push idunknown
push userunknown
push dateunknown
reviewersroc
bugs376434
milestone1.9a5pre
Bug 376434: avoid using a different type so that MSVC can pack the bitfields properly, patch by Taras Glek <tglek@mozilla.com>, r=roc
gfx/public/nsFont.h
--- a/gfx/public/nsFont.h
+++ b/gfx/public/nsFont.h
@@ -74,17 +74,17 @@ struct NS_GFX nsFont {
   // the name is the same as a CSS generic font family.
   unsigned int systemFont : 1;
 
   // The variant of the font (normal, small-caps)
   PRUint8 variant : 7;
 
   // True if the character set quirks (for treatment of "Symbol",
   // "Wingdings", etc.) should be applied.
-  PRPackedBool familyNameQuirks : 1;
+  PRUint8 familyNameQuirks : 1;
 
   // The weight of the font (0-999)
   PRUint16 weight;
 
   // The decorations on the font (underline, overline,
   // line-through). The decorations can be binary or'd together.
   PRUint8 decorations;