summaryrefslogtreecommitdiffstats
path: root/src/Pad.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Pad.h')
-rw-r--r--src/Pad.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Pad.h b/src/Pad.h
index 9180be26..e06aa9a6 100644
--- a/src/Pad.h
+++ b/src/Pad.h
@@ -292,7 +292,7 @@ public:
// keyboard
- inline bool GetCharJustDown(char c) { return !!(NewKeyState.VK_KEYS[c] && !OldKeyState.VK_KEYS[c]); }
+ inline bool GetCharJustDown(int32 c) { return !!(NewKeyState.VK_KEYS[c] && !OldKeyState.VK_KEYS[c]); }
inline bool GetFJustDown(int32 n) { return !!(NewKeyState.F[n] && !OldKeyState.F[n]); }
inline bool GetEscapeJustDown() { return !!(NewKeyState.ESC && !OldKeyState.ESC); }
inline bool GetInsertJustDown() { return !!(NewKeyState.INS && !OldKeyState.INS); }