diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index d99394eed0..6cc3c596b0 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -2574,8 +2574,7 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data, | |||
2574 | } | 2574 | } |
2575 | #endif | 2575 | #endif |
2576 | #ifndef __PCTOOL__ | 2576 | #ifndef __PCTOOL__ |
2577 | wps_data->buflib_handle = core_alloc(isfile ? buf : "failsafe skin", | 2577 | wps_data->buflib_handle = core_alloc(skin_buffer_usage()); |
2578 | skin_buffer_usage()); | ||
2579 | if (wps_data->buflib_handle > 0) | 2578 | if (wps_data->buflib_handle > 0) |
2580 | { | 2579 | { |
2581 | wps_data->wps_loaded = true; | 2580 | wps_data->wps_loaded = true; |