aboutsummaryrefslogtreecommitdiff
path: root/common/keyboard.h
diff options
context:
space:
mode:
authorAlejandro Marzini2010-07-15 01:46:02 +0000
committerAlejandro Marzini2010-07-15 01:46:02 +0000
commite47c64dd34ca01107ffd7d122e2f7bf2f61958ee (patch)
treeab6ab1fba0cbca2cfdb32b8801bc8e67afa298f9 /common/keyboard.h
parentf53028d4a2d53238fb92e56bea6c737c57ffb123 (diff)
downloadscummvm-rg350-e47c64dd34ca01107ffd7d122e2f7bf2f61958ee.tar.gz
scummvm-rg350-e47c64dd34ca01107ffd7d122e2f7bf2f61958ee.tar.bz2
scummvm-rg350-e47c64dd34ca01107ffd7d122e2f7bf2f61958ee.zip
Fixed compile error.
svn-id: r50901
Diffstat (limited to 'common/keyboard.h')
-rw-r--r--common/keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard.h b/common/keyboard.h
index 0a336c3ca5..8f93fed91c 100644
--- a/common/keyboard.h
+++ b/common/keyboard.h
@@ -281,7 +281,7 @@ struct KeyState {
* you can write
* if (keystate.flags & KBD_CTRL) { ... }
*/
- bool hasFlags(byte f) {
+ bool hasFlags(byte f) const {
return f == (flags & ~(KBD_NUM|KBD_CAPS|KBD_SCRL));
}