textscreen: Make SDLWheelToTXTButton parameter const

This commit is contained in:
Turo Lamminen 2018-03-06 18:38:29 +02:00
parent 10d2130a2a
commit 1758e89080

View file

@ -558,7 +558,7 @@ static int SDLButtonToTXTButton(int button)
// Convert an SDL wheel motion to a textscreen button index. // Convert an SDL wheel motion to a textscreen button index.
static int SDLWheelToTXTButton(SDL_MouseWheelEvent *wheel) static int SDLWheelToTXTButton(const SDL_MouseWheelEvent *wheel)
{ {
if (wheel->y <= 0) if (wheel->y <= 0)
{ {