mirror of https://github.com/libsdl-org/SDL.git
README-macos: fixed some text.
This commit is contained in:
parent
4ac67f5ba6
commit
199e6929e5
|
|
@ -228,10 +228,10 @@ Some things that may be of interest about how it all works...
|
||||||
## Working directory
|
## Working directory
|
||||||
|
|
||||||
In SDL 1.2, the working directory of your SDL app is by default set to its
|
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
|
parent, but this is no longer the case in SDL 2.0 and later. SDL2 does not
|
||||||
working directory, which means it'll be whatever the command line prompt
|
change the working directory, which means it'll be whatever the command line
|
||||||
that launched the program was using, or if launched by double-clicking in
|
prompt that launched the program was using, or if launched by double-clicking
|
||||||
the finger, it will be "/", the _root of the filesystem_. Plan accordingly!
|
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
|
You can use SDL_GetBasePath() to find where the program is running from and
|
||||||
chdir() there directly.
|
chdir() there directly.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue