mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-11-21 20:47:19 +01:00
Patched to compile on Solaris.
This commit is contained in:
parent
88cd94a0eb
commit
58a558e326
@ -97,7 +97,7 @@ SDL_GetBasePath(void)
|
||||
#elif defined(__SOLARIS__)
|
||||
const char *path = getexecname();
|
||||
if ((path != NULL) && (path[0] == '/')) { /* must be absolute path... */
|
||||
retval = SDL_strdup(fullpath);
|
||||
retval = SDL_strdup(path);
|
||||
if (!retval) {
|
||||
SDL_OutOfMemory();
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user