Fixed typo.
This commit is contained in:
parent
5d1ff1836f
commit
721d7395b7
|
@ -125,7 +125,7 @@ static char *getExePath(const char *argv0)
|
||||||
|
|
||||||
/* make sure the string was not truncated. */
|
/* make sure the string was not truncated. */
|
||||||
if (__PHYSFS_platformStricmp(&retval[buflen - 4], ".exe") != 0)
|
if (__PHYSFS_platformStricmp(&retval[buflen - 4], ".exe") != 0)
|
||||||
__PHYSFS_setError(ERR_GOTMODFN_TRUNC);
|
__PHYSFS_setError(ERR_GETMODFN_TRUNC);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ptr = strrchr(retval, '\\');
|
ptr = strrchr(retval, '\\');
|
||||||
|
|
Loading…
Reference in New Issue