[pango] [HB] Bitfield packing *is* very delicate



commit f4868084a55e3abd0b45ee2fb7b477e038a81d1a
Author: Behdad Esfahbod <behdad behdad org>
Date:   Thu Aug 13 11:47:08 2009 -0400

    [HB] Bitfield packing *is* very delicate
    
    Fix the second instance.

 pango/opentype/hb-buffer.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pango/opentype/hb-buffer.h b/pango/opentype/hb-buffer.h
index f06a255..f27739f 100644
--- a/pango/opentype/hb-buffer.h
+++ b/pango/opentype/hb-buffer.h
@@ -56,7 +56,7 @@ typedef struct _hb_glyph_position_t {
   hb_position_t  x_advance;
   hb_position_t  y_advance;
   /* XXX these should all be replaced by "uint32_t internal" */
-  hb_bool_t      new_advance :1;	/* if set, the advance width values are
+  unsigned short new_advance :1;	/* if set, the advance width values are
 					   absolute, i.e., they won't be
 					   added to the original glyph's value
 					   but rather replace them */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]