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

This commit is contained in:
Alex Szpakowski
2013-07-27 17:06:20 -03:00
parent c8428a0a2b
commit 02d77aa9be
+1 -1
View File
@@ -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" */