Skip to content

Commit

Permalink
Patched to compile on Solaris.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 24, 2013
1 parent 88cd94a commit 58a558e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem/unix/SDL_sysfilesystem.c
Expand Up @@ -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;
Expand Down

0 comments on commit 58a558e

Please sign in to comment.