Patched to compile on Solaris.
This commit is contained in:
parent
327661011c
commit
e94b620dc6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue