mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
Fixed build
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user