Fixed wording in SDL_GameControllerAddMappingsFromRW() error message.

This commit is contained in:
Philipp Wiesemann 2014-10-26 17:44:00 +01:00
parent 01f3498c33
commit 0a053ed66a

View File

@ -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) {