summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2013-02-12 21:07:23 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2013-02-12 21:07:23 +1100
commit5aa4bf6faaafc3035d4fff0e9b1a228326e8474c (patch)
tree1b295f85322178a90f39d5f029ec1f5b6a82261c
parentaaf30651df27e0eb6fab876502fa1e6c084160bf (diff)
fix checkwps
Change-Id: Ie3bdfe18db6f8279f3575b253519fe4820649898
-rw-r--r--tools/checkwps/checkwps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 06f88bbbbf..10e505f006 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -294,6 +294,7 @@ int main(int argc, char **argv)
while (argv[filearg]) {
const char* name = argv[filearg++];
char *ext = strrchr(name, '.');
+ struct skin_stats stats;
printf("Checking %s...\n", name);
if (!ext)
{
@@ -321,7 +322,7 @@ int main(int argc, char **argv)
}
wps_screen = &screens[screen];
- res = skin_data_load(screen, &wps, name, true);
+ res = skin_data_load(screen, &wps, name, true, &stats);
if (!res) {
printf("WPS parsing failure\n");