OS/2: base dir needs to end with a path separator.
This commit is contained in:
parent
34009cf762
commit
9aebcff5ba
|
@ -241,7 +241,7 @@ char *__PHYSFS_platformCalcBaseDir(const char *argv0)
|
||||||
{
|
{
|
||||||
if (buf[len] == '\\')
|
if (buf[len] == '\\')
|
||||||
{
|
{
|
||||||
buf[len] = '\0';
|
buf[len + 1] = '\0';
|
||||||
break;
|
break;
|
||||||
} /* if */
|
} /* if */
|
||||||
} /* for */
|
} /* for */
|
||||||
|
|
Loading…
Reference in New Issue