diff options
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp index 2b6b8363b..2c4e8cbea 100644 --- a/src/gui/sdlinput.cpp +++ b/src/gui/sdlinput.cpp @@ -220,7 +220,7 @@ void SDLInput::pushInput(const SDL_Event &event) } // end switch } -int SDLInput::convertMouseButton(int button) +int SDLInput::convertMouseButton(const int button) { switch (button) { @@ -236,9 +236,9 @@ int SDLInput::convertMouseButton(int button) } } -int SDLInput::convertKeyCharacter(SDL_Event event) +int SDLInput::convertKeyCharacter(const SDL_Event event) { - SDL_keysym keysym = event.key.keysym; + const SDL_keysym keysym = event.key.keysym; int value = keysym.unicode; |