textscreen: Make SDLWheelToTXTButton parameter const
This commit is contained in:
parent
10d2130a2a
commit
1758e89080
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue