summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-07 22:46:45 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-07 22:46:45 +0100
commit10a2e6738d24c31aa26822499df366c06dc2e88d (patch)
tree81b28e0c5522318a4e0307d6d271196ac4c2cde9
parent444d2e508ab03ca6ae9980867d896c7186d53cb4 (diff)
downloadrockbox-10a2e67.tar.gz
rockbox-10a2e67.tar.bz2
rockbox-10a2e67.zip
Oops, pasted to the wrong place.
Change-Id: Icb07ddd04171699e997eca171bf8756b5fd9f024
-rw-r--r--apps/gui/skin_engine/skin_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_render.c b/apps/gui/skin_engine/skin_render.c
index 7d0f42259b..2bcd101ea0 100644
--- a/apps/gui/skin_engine/skin_render.c
+++ b/apps/gui/skin_engine/skin_render.c
@@ -126,12 +126,12 @@ static bool do_non_text_tags(struct gui_wps *gwps, struct skin_draw_info *info,
case SKIN_TOKEN_VIEWPORT_TEXTSTYLE:
{
struct line_desc *data = SKINOFFSETTOPTR(skin_buffer, token->value.data);
+ struct line_desc *linedes = &info->line_desc;
/* gradient colors are handled with a separate tag
* (SKIN_TOKEN_VIEWPORT_GRADIENT_SETUP, see below). since it may
* come before the text style tag color fields need to be preserved */
if (data->style & STYLE_GRADIENT)
{
- struct line_desc *linedes = &info->line_desc;
fb_data tc = linedes->text_color,
lc = linedes->line_color,
lec = linedes->line_end_color;