Ryan C. Gordon 23 vuotta sitten
vanhempi
commit
ac74982b7a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      platform/os2.c

+ 1 - 1
platform/os2.c

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