mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-26 07:48:42 +00:00
Fixed clearing the mapping in testcontroller
This commit is contained in:
parent
732218c222
commit
e413457a7e
1 changed files with 0 additions and 3 deletions
|
|
@ -1418,9 +1418,6 @@ static char *SDL_PrivateGetGamepadMappingFromMappingString(const char *pMapping)
|
|||
while (SDL_isspace(pSecondComma[1])) {
|
||||
++pSecondComma;
|
||||
}
|
||||
if (pSecondComma[1] == '\0') {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
result = SDL_strdup(pSecondComma + 1); /* mapping is everything after the 3rd comma */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue