mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-10 19:55:38 +00: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 a new issue