]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Utils/Input.cpp
Update copyright year to 2017
[lugaru.git] / Source / Utils / Input.cpp
index 06a7b74e649c9f68b513345e2df8f6f98817076b..70d47a55b44ac03245cc0dcb21a176477bc67a1b 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -27,7 +27,7 @@ void Input::Tick()
 {
     SDL_PumpEvents();
     int numkeys;
-    const Uint8 *keyState = SDL_GetKeyboardState(&numkeys);
+    const Uint8keyState = SDL_GetKeyboardState(&numkeys);
     for (int i = 0; i < numkeys; i++) {
         keyPressed[i] = !keyDown[i] && keyState[i];
         keyDown[i] = keyState[i];