summaryrefslogtreecommitdiffstats
path: root/tools/checkwps/checkwps.c
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-11-19 21:23:25 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-11-19 21:23:25 +0000
commitd236af05a02e8cd73d62a4002579513ff97e8a98 (patch)
treeef49d1043299afe65bfdca61aecfec6c705ac574 /tools/checkwps/checkwps.c
parentad9f554eb281e8e2a3c1fc96ed89ff50dc2c1b63 (diff)
downloadrockbox-d236af05a02e8cd73d62a4002579513ff97e8a98.tar.gz
rockbox-d236af05a02e8cd73d62a4002579513ff97e8a98.tar.bz2
rockbox-d236af05a02e8cd73d62a4002579513ff97e8a98.zip
make checkwps able to check .rsbs files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23667 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps/checkwps.c')
-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 daeb0ea935..b4c2d60d90 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -271,7 +271,8 @@ int main(int argc, char **argv)
while (argv[filearg]) {
printf("Checking %s...\n", argv[filearg]);
#ifdef HAVE_REMOTE_LCD
- if(strcmp(&argv[filearg][strlen(argv[filearg])-4], "rwps") == 0)
+ if((strcmp(&argv[filearg][strlen(argv[filearg])-4], "rwps") == 0) ||
+ (strcmp(&argv[filearg][strlen(argv[filearg])-4], "rsbs") == 0))
screen = SCREEN_REMOTE;
#endif
wps_screen = &screens[screen];