diff --git a/platform/os2.c b/platform/os2.c index ee6471e..0ade46b 100644 --- a/platform/os2.c +++ b/platform/os2.c @@ -243,7 +243,7 @@ int __PHYSFS_platformInit(void) { if (buf[len] == '\\') { - buf[++len] = '\0'; + buf[len] = '\0'; break; } /* if */ } /* for */