Skip to content

Commit

Permalink
OS/2: base dir needs to end with a path separator.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 6, 2017
1 parent 34009cf commit 9aebcff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform_os2.c
Expand Up @@ -241,7 +241,7 @@ char *__PHYSFS_platformCalcBaseDir(const char *argv0)
{
if (buf[len] == '\\')
{
buf[len] = '\0';
buf[len + 1] = '\0';
break;
} /* if */
} /* for */
Expand Down

0 comments on commit 9aebcff

Please sign in to comment.