diff options
Diffstat (limited to 'src/filepath.c')
-rw-r--r-- | src/filepath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filepath.c b/src/filepath.c index 65ea2bc6e..4abf8f498 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -372,12 +372,12 @@ repeat: { if (GetLongPathNameW(wfname, buf, _MAX_PATH)) { - char_u *p = utf16_to_enc(buf, NULL); + char_u *q = utf16_to_enc(buf, NULL); - if (p != NULL) + if (q != NULL) { vim_free(*bufp); // free any allocated file name - *bufp = *fnamep = p; + *bufp = *fnamep = q; } } vim_free(wfname); |