summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-28 19:38:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-28 19:38:27 -0400
commitc7fb319151ba60a086c75e8de819315eda57ae55 (patch)
tree937aa7756043f112c5a671fd92f3822a62d81cf7 /apps/gui/skin_engine
parenta5a8e00b6d0939527eb764745eef6f86d187cc6a (diff)
fix checkwps build (introduced in a5a8e00)
Change-Id: Ibc8bced6721b3711e465320a537e15244b2b11b2
Diffstat (limited to 'apps/gui/skin_engine')
-rw-r--r--apps/gui/skin_engine/skin_parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 789d42aab5..80f3800ade 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1714,10 +1714,11 @@ void skin_data_free_buflib_allocs(struct wps_data *wps_data)
{
if (wps_data->wps_loaded)
skin_buffer = get_skin_buffer(wps_data);
+
+#ifndef __PCTOOL__
if (!skin_buffer)
goto abort;
-#ifndef __PCTOOL__
struct skin_token_list *list = SKINOFFSETTOPTR(skin_buffer, wps_data->images);
int *font_ids = SKINOFFSETTOPTR(skin_buffer, wps_data->font_ids);
while (list)