Fixes https://github.com/libsdl-org/sdlwiki/issues/751 (cherry picked from commit ffe69fc354)
ffe69fc354