diff options
author | Antoine Cellerier <dionoea@videolan.org> | 2007-08-07 20:14:48 +0000 |
---|---|---|
committer | Antoine Cellerier <dionoea@videolan.org> | 2007-08-07 20:14:48 +0000 |
commit | e40fedc9fd7918d8d12a6d0343ccaf09722e35be (patch) | |
tree | f312446fb35d3362d475aa786538bc9be79ea16d /apps | |
parent | 23ae15dbea0d5f12858fdb55398be9fa5b257b85 (diff) | |
download | rockbox-e40fedc9fd7918d8d12a6d0343ccaf09722e35be.tar.gz rockbox-e40fedc9fd7918d8d12a6d0343ccaf09722e35be.zip |
If autorock is enabled, look for autostart.rock in /.rockbox/rocks/apps/ instead of /.rockbox/rocks/.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14237 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index a1019f8a5e..82f1c8fa99 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -555,7 +555,7 @@ static void init(void) | |||
555 | #ifdef AUTOROCK | 555 | #ifdef AUTOROCK |
556 | { | 556 | { |
557 | int fd; | 557 | int fd; |
558 | static const char filename[] = PLUGIN_DIR "/autostart.rock"; | 558 | static const char filename[] = PLUGIN_APPS_DIR "/autostart.rock"; |
559 | 559 | ||
560 | fd = open(filename, O_RDONLY); | 560 | fd = open(filename, O_RDONLY); |
561 | if(fd >= 0) /* no complaint if it doesn't exist */ | 561 | if(fd >= 0) /* no complaint if it doesn't exist */ |