From e47c64dd34ca01107ffd7d122e2f7bf2f61958ee Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Thu, 15 Jul 2010 01:46:02 +0000 Subject: Fixed compile error. svn-id: r50901 --- common/keyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/keyboard.h') 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)); } -- cgit v1.2.3