fix for windows

This commit is contained in:
anatawa12 2020-09-08 21:36:30 +09:00
parent 05e614891d
commit 272bb3bb2a

View File

@ -114,7 +114,7 @@ MMKeyCode keyCodeForChar(const char c){
return (MMKeyCode)code;
#elif defined(IS_WINDOWS)
CGKeyCode code;
MMKeyCode code;
code = VkKeyScan(c);
if (code == 0xFFFF)
return K_NOT_A_KEY;