Oops, the ASCII codes for some characters I was using overlapped

with the VK codes for some keys that I wasn't. Ugly, but work
around that.

[git-p4: depot-paths = "//depot/solvespace/": change = 1833]
This commit is contained in:
Jonathan Westhues 2008-07-09 23:26:41 -08:00
parent 44795175ee
commit cdeeb67d83

View File

@ -466,6 +466,15 @@ static BOOL ProcessKeyDown(WPARAM wParam)
case VK_DELETE: c = 127; break;
case VK_TAB: c = '\t'; break;
// These overlap with some character codes that I'm using, so
// don't let them trigger by accident.
case VK_F16:
case VK_INSERT:
case VK_EXECUTE:
case VK_APPS:
case VK_LWIN:
case VK_RWIN: return FALSE;
default:
c = wParam;
break;