comparison src/os_mswin.c @ 28844:c0403cd5ca06 v8.2.4945

patch 8.2.4945: inconsistent use of white space Commit: https://github.com/vim/vim/commit/9f1983de4e8293bae32fdab72a459b1b64bf767f Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 12 20:35:35 2022 +0100 patch 8.2.4945: inconsistent use of white space Problem: Inconsistent use of white space. Solution: Use Tabs and Spaces consistently.
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 May 2022 21:45:06 +0200
parents 99729fe344f7
children d2ef7d649fcb
comparison
equal deleted inserted replaced
28843:cd68a630f0d0 28844:c0403cd5ca06
513 } 513 }
514 514
515 char_u * 515 char_u *
516 resolve_appexeclink(char_u *fname) 516 resolve_appexeclink(char_u *fname)
517 { 517 {
518 DWORD attr = 0; 518 DWORD attr = 0;
519 int idx; 519 int idx;
520 WCHAR *p, *end, *wname; 520 WCHAR *p, *end, *wname;
521 // The buffer size is arbitrarily chosen to be "big enough" (TM), the 521 // The buffer size is arbitrarily chosen to be "big enough" (TM), the
522 // ceiling should be around 16k. 522 // ceiling should be around 16k.
523 char_u buf[4096]; 523 char_u buf[4096];
524 DWORD buf_len = sizeof(buf); 524 DWORD buf_len = sizeof(buf);
525 REPARSE_DATA_BUFFER *rb = (REPARSE_DATA_BUFFER *)buf; 525 REPARSE_DATA_BUFFER *rb = (REPARSE_DATA_BUFFER *)buf;
526 526
527 wname = enc_to_utf16(fname, NULL); 527 wname = enc_to_utf16(fname, NULL);
528 if (wname == NULL) 528 if (wname == NULL)
529 return NULL; 529 return NULL;