summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-03-01 13:01:57 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-03-01 13:01:57 +0000
commit0f68a91bc567083ff8956e5cd68536728888e696 (patch)
treea0d9a70922e99750ae30bee097637d30e457723f /apps
parent485ff795843597483264b1c9ce1a29a154aa6679 (diff)
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29484 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 0eb966198d..d7ecd34a04 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -1067,6 +1067,7 @@ static int parse_touchregion(struct skin_element *element,
&region->setting_data;
if (element->params_count < p+2)
return WPS_ERROR_INVALID_PARAM;
+#ifndef __PCTOOL__
text = element->params[p+1].data.text;
switch (settings[j].flags&F_T_MASK)
{
@@ -1101,6 +1102,7 @@ static int parse_touchregion(struct skin_element *element,
default:
return WPS_ERROR_INVALID_PARAM;
}
+#endif /* __PCTOOL__ */
}
}
}