From e40fedc9fd7918d8d12a6d0343ccaf09722e35be Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Tue, 7 Aug 2007 20:14:48 +0000 Subject: 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 --- apps/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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 */ -- cgit v1.1