ref: 1758e8908027337097aacce0d150d30aa7c3a6b6
parent: 10d2130a2a82fed36d9d16ea4dc222f2fbbdb3c8
author: Turo Lamminen <[email protected]>
date: Tue Mar 6 13:38:29 EST 2018
textscreen: Make SDLWheelToTXTButton parameter const
--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -558,7 +558,7 @@
// 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)
{