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.zip rockbox-e40fedc9fd7918d8d12a6d0343ccaf09722e35be.tar.gz rockbox-e40fedc9fd7918d8d12a6d0343ccaf09722e35be.tar.bz2 rockbox-e40fedc9fd7918d8d12a6d0343ccaf09722e35be.tar.xz | |
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 a1019f8..82f1c8f 100644 --- a/apps/main.c +++ b/apps/main.c @@ -555,7 +555,7 @@ static void init(void) #ifdef AUTOROCK { int fd; - static const char filename[] = PLUGIN_DIR "/autostart.rock"; + static const char filename[] = PLUGIN_APPS_DIR "/autostart.rock"; fd = open(filename, O_RDONLY); if(fd >= 0) /* no complaint if it doesn't exist */ |