Ryan C. Gordon %!s(int64=24) %!d(string=hai) anos
pai
achega
ac74982b7a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      platform/os2.c

+ 1 - 1
platform/os2.c

@@ -243,7 +243,7 @@ int __PHYSFS_platformInit(void)
     {
     {
         if (buf[len] == '\\')
         if (buf[len] == '\\')
         {
         {
-            buf[++len] = '\0';
+            buf[len] = '\0';
             break;
             break;
         } /* if */
         } /* if */
     } /* for */
     } /* for */