Skip to content
Browse files

Fix memory corruption bug on Windows

  • Loading branch information...
1 parent 8ca0b9a commit a763a4f4d9917c855922870181b67bbf64666504 @piscisaureus piscisaureus committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/node_stdio_win32.cc
View
2 src/node_stdio_win32.cc
@@ -18,7 +18,7 @@ namespace node {
#define KEY(scancode, name) \
scancodes[scancode] = name;
-#define MAX_KEY VK_RMENU
+#define MAX_KEY VK_OEM_PERIOD
static const char* scancodes[MAX_KEY + 1] = {0};

0 comments on commit a763a4f

Please sign in to comment.
Something went wrong with that request. Please try again.