mirror of https://github.com/encounter/SDL.git
minor build fix.
This commit is contained in:
parent
fdc67c3c60
commit
f96d7cc0fd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue