diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2013-02-12 21:07:23 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2013-02-12 21:07:23 +1100 |
commit | 5aa4bf6faaafc3035d4fff0e9b1a228326e8474c (patch) | |
tree | 1b295f85322178a90f39d5f029ec1f5b6a82261c /tools/checkwps | |
parent | aaf30651df27e0eb6fab876502fa1e6c084160bf (diff) | |
download | rockbox-5aa4bf6faaafc3035d4fff0e9b1a228326e8474c.tar.gz rockbox-5aa4bf6faaafc3035d4fff0e9b1a228326e8474c.zip |
fix checkwps
Change-Id: Ie3bdfe18db6f8279f3575b253519fe4820649898
Diffstat (limited to 'tools/checkwps')
-rw-r--r-- | tools/checkwps/checkwps.c | 3 |
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) | |||
294 | while (argv[filearg]) { | 294 | while (argv[filearg]) { |
295 | const char* name = argv[filearg++]; | 295 | const char* name = argv[filearg++]; |
296 | char *ext = strrchr(name, '.'); | 296 | char *ext = strrchr(name, '.'); |
297 | struct skin_stats stats; | ||
297 | printf("Checking %s...\n", name); | 298 | printf("Checking %s...\n", name); |
298 | if (!ext) | 299 | if (!ext) |
299 | { | 300 | { |
@@ -321,7 +322,7 @@ int main(int argc, char **argv) | |||
321 | } | 322 | } |
322 | wps_screen = &screens[screen]; | 323 | wps_screen = &screens[screen]; |
323 | 324 | ||
324 | res = skin_data_load(screen, &wps, name, true); | 325 | res = skin_data_load(screen, &wps, name, true, &stats); |
325 | 326 | ||
326 | if (!res) { | 327 | if (!res) { |
327 | printf("WPS parsing failure\n"); | 328 | printf("WPS parsing failure\n"); |