OS/2: base dir needs to end with a path separator.

This commit is contained in:
Ryan C. Gordon 2017-07-06 00:47:36 -04:00
parent 34009cf762
commit 9aebcff5ba
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ char *__PHYSFS_platformCalcBaseDir(const char *argv0)
{
if (buf[len] == '\\')
{
buf[len] = '\0';
buf[len + 1] = '\0';
break;
} /* if */
} /* for */