commit | 7db5fc838a7f701e495d41b0ff6a070591c84340 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon May 24 11:59:29 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon May 24 11:59:29 2010 +0200 |
tree | ac8f061dafa07580e8b6cf3fedcd290a9f43d3ac | |
parent | 55debbe38429b81c0ce6e8400aef36812eb151d7 [diff] [blame] |
Fix uninit memory read in undo code. Fix uint32_t in proto file. A few minor changes.
diff --git a/src/os_win32.c b/src/os_win32.c index 3d0ba7d..0ba2391 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -604,7 +604,7 @@ if (pker->AChar != 0) return 1; - memset(abKeystate, 0, sizeof (abKeystate)); + vim_memset(abKeystate, 0, sizeof (abKeystate)); // Should only be non-NULL on NT 4.0 if (s_pfnGetConsoleKeyboardLayoutName != NULL)