mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +00:00
Fixed build
This commit is contained in:
parent
24f97dd700
commit
bf925b9ecd
1 changed files with 1 additions and 2 deletions
|
@ -1614,9 +1614,8 @@ SDL_GameControllerMappingForIndex(int mapping_index)
|
|||
return CreateMappingString(mapping, mapping->guid);
|
||||
}
|
||||
--mapping_index;
|
||||
} else {
|
||||
SDL_SetError("Mapping not available");
|
||||
}
|
||||
SDL_SetError("Mapping not available");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue