Browse Source

Fixed running love files with relative paths from the command line in OS X

Alex Szpakowski 12 years ago
parent
commit
02d77aa9be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/macosx/SDLMain.m

+ 1 - 1
platform/macosx/SDLMain.m

@@ -306,7 +306,7 @@ static void CustomApplicationMain (int argc, char **argv)
 	int status;
 
 	/* Set the working directory to the .app's Resources folder */
-	[self setupWorkingDirectory:YES];
+	[self setupWorkingDirectory:gCalledAppMainline];
 
 #if SDL_USE_NIB_FILE
 	/* Set the main menu to contain the real app name instead of "SDL App" */