Commit f96d7cc0fd8c4c5b97896d66a229b822122c469e

Ozkan Sezer 2019-07-31T01:19:26

minor build fix.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c
index 56ffb73..ffa9df4 100644
--- a/src/file/SDL_rwops.c
+++ b/src/file/SDL_rwops.c
@@ -585,7 +585,7 @@ SDL_RWFromFile(const char *file, const char *mode)
         if (fp == NULL) {
             SDL_SetError("Couldn't open %s", file);
         } else {
-            rwops = SDL_RWFromFP(fp, 1);
+            rwops = SDL_RWFromFP(fp, SDL_TRUE);
         }
     }
 #else