From 02d77aa9be2b063b13aa20df7fe76cd85366ce68 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 27 Jul 2013 17:06:20 -0300 Subject: [PATCH] Fixed running love files with relative paths from the command line in OS X --- platform/macosx/SDLMain.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/macosx/SDLMain.m b/platform/macosx/SDLMain.m index a49c12c94..a714f85ea 100644 --- a/platform/macosx/SDLMain.m +++ b/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" */