diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-07-05 11:24:08 +1000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-07-05 11:24:08 +1000 |
commit | c413591e7ee1184efde80283705d3061d90432f8 (patch) | |
tree | fc460c6ddc9e4d6aaf7391be86e40c27e1459edd /apps/gui/skin_engine/skin_parser.c | |
parent | d336eb30f8098f4a8f0bc27dc40358b30e57decd (diff) | |
download | rockbox-c413591e7ee1184efde80283705d3061d90432f8.tar.gz rockbox-c413591e7ee1184efde80283705d3061d90432f8.zip |
fix build warnings
Change-Id: Id5f0e84834f1cb74a317bb5653fdb6f665233345
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 8e7d79b44f..f66961d488 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1491,7 +1491,7 @@ static int parse_touchregion(struct skin_element *element, | |||
1491 | region->last_press = 0xffff; | 1491 | region->last_press = 0xffff; |
1492 | region->press_length = PRESS; | 1492 | region->press_length = PRESS; |
1493 | region->allow_while_locked = false; | 1493 | region->allow_while_locked = false; |
1494 | region->bar = -1; | 1494 | region->bar = PTRTOSKINOFFSET(skin_buffer, NULL); |
1495 | action = get_param_text(element, p++); | 1495 | action = get_param_text(element, p++); |
1496 | 1496 | ||
1497 | /* figure out the action */ | 1497 | /* figure out the action */ |
@@ -2409,7 +2409,7 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data, | |||
2409 | } | 2409 | } |
2410 | regions = SKINOFFSETTOPTR(skin_buffer, wps_data->touchregions); | 2410 | regions = SKINOFFSETTOPTR(skin_buffer, wps_data->touchregions); |
2411 | if (regions && !user_touch_region_found) | 2411 | if (regions && !user_touch_region_found) |
2412 | wps_data->touchregions = -1; | 2412 | wps_data->touchregions = PTRTOSKINOFFSET(skin_buffer, NULL); |
2413 | #endif | 2413 | #endif |
2414 | 2414 | ||
2415 | skin_buffer = NULL; | 2415 | skin_buffer = NULL; |