make SDL_SetTextInputRect take a pointer to const

The documentation doesn't state that the argument is ever modified,
and no implementation does so currently.
This is a non-breaking change to guarantee as much to callers.
This commit is contained in:
rohlem
2022-07-04 16:38:05 +02:00
committed by Sam Lantinga
parent 51f75b8b30
commit b085c18251
22 changed files with 25 additions and 25 deletions

View File

@@ -374,7 +374,7 @@ Android_StopTextInput(_THIS)
}
void
Android_SetTextInputRect(_THIS, SDL_Rect *rect)
Android_SetTextInputRect(_THIS, const SDL_Rect *rect)
{
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;