diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2008-02-14 15:46:02 +0100 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-02-14 14:35:28 -0500 |
| commit | e06ddf9f22bca1aefd4e6664aa54eea13543aade (patch) | |
| tree | 6799b321ec718c2bad2288a89d7b8310f095f8ba | |
| parent | 911413d86c771248994727cfd53a7aa2e122993c (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/render.h b/render/render.h index 0034ad47..d9438edc 100644 --- a/render/render.h +++ b/render/render.h @@ -137,12 +137,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 { |
