diff --git a/arm9/src/titlemenu.c b/arm9/src/titlemenu.c index e844511..3b231c3 100644 --- a/arm9/src/titlemenu.c +++ b/arm9/src/titlemenu.c @@ -331,7 +331,7 @@ static void backup(Menu* m) //create subdirectories char backupPath[sizeof(BACKUP_PATH)]; strcpy(backupPath, BACKUP_PATH); - for (char *slash = strchr(backupPath, '/'); *slash; slash = strchr(slash + 1, '/')) + for (char *slash = strchr(backupPath, '/'); slash; slash = strchr(slash + 1, '/')) { char temp = *slash; *slash = '\0';