diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index ee32c06ace..1a6861ff16 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -2538,8 +2538,9 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data, | |||
2538 | skin_buffer = wps_buffer; | 2538 | skin_buffer = wps_buffer; |
2539 | wps_buffer = (char*)buf; | 2539 | wps_buffer = (char*)buf; |
2540 | } | 2540 | } |
2541 | skin_buffer = ALIGN_UP(skin_buffer, 4); /* align on 4-byte boundary */ | 2541 | |
2542 | buffersize -= 3; | 2542 | /* align to long */ |
2543 | ALIGN_BUFFER(skin_buffer, buffersize, sizeof(long)); | ||
2543 | #ifdef HAVE_BACKDROP_IMAGE | 2544 | #ifdef HAVE_BACKDROP_IMAGE |
2544 | backdrop_filename = "-"; | 2545 | backdrop_filename = "-"; |
2545 | wps_data->backdrop_id = -1; | 2546 | wps_data->backdrop_id = -1; |