mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Christoph Mallon: Correct indendation.
This commit is contained in:
parent
7267ea8f8b
commit
1d2c7796ae
@ -105,13 +105,13 @@ SDL_GetBasePath(void)
|
|||||||
|
|
||||||
/* is a Linux-style /proc filesystem available? */
|
/* is a Linux-style /proc filesystem available? */
|
||||||
if (!retval && (access("/proc", F_OK) == 0)) {
|
if (!retval && (access("/proc", F_OK) == 0)) {
|
||||||
#if defined(__FREEBSD__)
|
#if defined(__FREEBSD__)
|
||||||
retval = readSymLink("/proc/curproc/file");
|
retval = readSymLink("/proc/curproc/file");
|
||||||
#elif defined(__NETBSD__)
|
#elif defined(__NETBSD__)
|
||||||
retval = readSymLink("/proc/curproc/exe");
|
retval = readSymLink("/proc/curproc/exe");
|
||||||
#else
|
#else
|
||||||
retval = readSymLink("/proc/self/exe"); /* linux. */
|
retval = readSymLink("/proc/self/exe"); /* linux. */
|
||||||
#endif
|
#endif
|
||||||
if (retval == NULL) {
|
if (retval == NULL) {
|
||||||
/* older kernels don't have /proc/self ... try PID version... */
|
/* older kernels don't have /proc/self ... try PID version... */
|
||||||
char path[64];
|
char path[64];
|
||||||
|
Loading…
Reference in New Issue
Block a user