diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-10-01 18:34:34 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-10-01 18:34:34 +0000 |
commit | 41a090352395e1ba3c5296159f838fdbf0eed429 (patch) | |
tree | 517a1f1a664e9c5bef7d53877b9cf96cc6d13a15 /src/os_win32.c | |
parent | 61bfb9febebf78f0eae325735415120ffceaf4fe (diff) | |
download | vim-git-41a090352395e1ba3c5296159f838fdbf0eed429.tar.gz |
updated for version 7.1-129v7.1.129
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 1bd3d4aec..960943c94 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -2378,7 +2378,7 @@ mch_get_user_name( char_u *s, int len) { - char szUserName[MAX_COMPUTERNAME_LENGTH + 1]; + char szUserName[256 + 1]; /* UNLEN is 256 */ DWORD cch = sizeof szUserName; if (GetUserName(szUserName, &cch)) |