summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-22 11:35:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:15 +0300
commit07390a4c8dcde85602c1a91d3773061d67d169ab (patch)
tree2128313bf3f5612d036cc35d71b2867b276b54e2 /src/keyboardconfig.h
parent89f6264172de327a53db26cdc15b475ca3c7e62e (diff)
downloadmanaverse-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.gz
manaverse-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.bz2
manaverse-07390a4c8dcde85602c1a91d3773061d67d169ab.tar.xz
manaverse-07390a4c8dcde85602c1a91d3773061d67d169ab.zip
add some more fixes for SDL2 compilation.
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index 0dbf19453..224391cdc 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -104,9 +104,9 @@ class KeyboardConfig final
void resetRepeat(const int key);
private:
- bool mEnabled; /**< Flag to respond to key input */
+ bool mEnabled; /**< Flag to respond to key input */
- uint8_t *mActiveKeys; /**< Stores a list of all the keys */
+ const uint8_t *mActiveKeys; /**< Stores a list of all the keys */
uint8_t *mActiveKeys2; /**< Stores a list of all the keys */