Skip to content

Commit

Permalink
README-macos: fixed some text.
Browse files Browse the repository at this point in the history
(cherry picked from commit 199e692)
  • Loading branch information
icculus committed Jul 16, 2024
1 parent 256269a commit 3f9591b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/README-macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ Some things that may be of interest about how it all works...
## Working directory

In SDL 1.2, the working directory of your SDL app is by default set to its
parent, but this is no longer the case in SDL 2.0. SDL2 does change the
working directory, which means it'll be whatever the command line prompt
that launched the program was using, or if launched by double-clicking in
the finger, it will be "/", the _root of the filesystem_. Plan accordingly!
parent, but this is no longer the case in SDL 2.0 and later. SDL2 does not
change the working directory, which means it'll be whatever the command line
prompt that launched the program was using, or if launched by double-clicking
in the Finder, it will be "/", the _root of the filesystem_. Plan accordingly!
You can use SDL_GetBasePath() to find where the program is running from and
chdir() there directly.

Expand Down

0 comments on commit 3f9591b

Please sign in to comment.