Ozkan Sezer 7 anni fa
parent
commit
f96d7cc0fd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/file/SDL_rwops.c

+ 1 - 1
src/file/SDL_rwops.c

@@ -585,7 +585,7 @@ SDL_RWFromFile(const char *file, const char *mode)
         if (fp == NULL) {
         if (fp == NULL) {
             SDL_SetError("Couldn't open %s", file);
             SDL_SetError("Couldn't open %s", file);
         } else {
         } else {
-            rwops = SDL_RWFromFP(fp, 1);
+            rwops = SDL_RWFromFP(fp, SDL_TRUE);
         }
         }
     }
     }
 #else
 #else