summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2008-02-14 15:46:02 +0100
committerMikael Magnusson <mikachu@comhem.se>2008-02-14 19:43:07 +0100
commitc8ef10a0e1d8b75a8ae6027383a5081a9a1b0ea0 (patch)
tree36e5cb2d745c178f66d12f1a4360c5965778253e
parent1124d1036984f920dcd5b2caec9ff8fe2d788b8a (diff)
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)
-rw-r--r--render/render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/render.h b/render/render.h
index 69050597..706843e3 100644
--- a/render/render.h
+++ b/render/render.h
@@ -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 {