summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/main.c b/apps/main.c
index 950168d8ed..7af4cca37e 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -172,13 +172,13 @@ int main(void)
172#ifdef AUTOROCK 172#ifdef AUTOROCK
173 { 173 {
174 char filename[MAX_PATH]; 174 char filename[MAX_PATH];
175 const char *file = get_user_file_path( 175 const char *file =
176#ifdef APPLICATION 176#ifdef APPLICATION
177 ROCKBOX_DIR 177 ROCKBOX_DIR
178#else 178#else
179 PLUGIN_APPS_DIR 179 PLUGIN_APPS_DIR
180#endif 180#endif
181 "/autostart.rock", NEED_WRITE|IS_FILE, filename, sizeof(filename)); 181 "/autostart.rock";
182 if(file_exists(file)) /* no complaint if it doesn't exist */ 182 if(file_exists(file)) /* no complaint if it doesn't exist */
183 { 183 {
184 plugin_load(file, NULL); /* start if it does */ 184 plugin_load(file, NULL); /* start if it does */