mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-31 00:09:19 +01:00
Fixed wording in SDL_GameControllerAddMappingsFromRW() error message.
This commit is contained in:
parent
01f3498c33
commit
0a053ed66a
@ -606,7 +606,7 @@ SDL_GameControllerAddMappingsFromRW(SDL_RWops * rw, int freerw)
|
|||||||
if (freerw) {
|
if (freerw) {
|
||||||
SDL_RWclose(rw);
|
SDL_RWclose(rw);
|
||||||
}
|
}
|
||||||
return SDL_SetError("Could allocate space to not read DB into memory");
|
return SDL_SetError("Could not allocate space to read DB into memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SDL_RWread(rw, buf, db_size, 1) != 1) {
|
if (SDL_RWread(rw, buf, db_size, 1) != 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user