author | Ryan C. Gordon <icculus@icculus.org> |
Fri, 23 Aug 2013 23:34:23 -0400 | |
changeset 7694 | 7f965b1a24e0 |
parent 7693 | 4907ee4d2883 |
child 7695 | 47d12c248988 |
--- a/src/filesystem/unix/SDL_sysfilesystem.c Fri Aug 23 21:48:40 2013 -0400 +++ b/src/filesystem/unix/SDL_sysfilesystem.c Fri Aug 23 23:34:23 2013 -0400 @@ -97,7 +97,7 @@ #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;