put the char member at the bottom of the struct so that it doesnt mess up alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)

This commit is contained in:
Mikael Magnusson 2008-02-14 15:46:02 +01:00
parent 1124d10369
commit c8ef10a0e1

View file

@ -142,12 +142,12 @@ struct _RrTextureText {
gint shadow_offset_x;
gint shadow_offset_y;
RrColor *shadow_color;
guchar shadow_alpha;
gboolean shortcut; /*!< Underline a character */
guint shortcut_pos; /*!< Position in bytes of the character to underline */
RrEllipsizeMode ellipsize;
gboolean flow; /* allow multiple lines. must set maxwidth below */
gint maxwidth;
guchar shadow_alpha; /* at the bottom to improve alignment */
};
struct _RrPixmapMask {