0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.0525: Win32: typo in assignment and misplaced paren

Problem:    Win32: typo in assignment and misplaced paren.
Solution:   Fix the syntax.
This commit is contained in:
Bram Moolenaar 2020-04-06 23:49:50 +02:00
parent c74fbfedfa
commit 40655d5016
2 changed files with 5 additions and 4 deletions

View File

@ -3168,7 +3168,7 @@ dos_expandpath(
break; // out of memory break; // out of memory
if (*wfb.cAlternateFileName == NUL) if (*wfb.cAlternateFileName == NUL)
p_alt == NULL; p_alt = NULL;
else else
p_alt = utf16_to_enc(wfb.cAlternateFileName, NULL); p_alt = utf16_to_enc(wfb.cAlternateFileName, NULL);
@ -3181,8 +3181,7 @@ dos_expandpath(
|| (regmatch.regprog != NULL || (regmatch.regprog != NULL
&& (vim_regexec(&regmatch, p, (colnr_T)0) && (vim_regexec(&regmatch, p, (colnr_T)0)
|| (p_alt != NULL || (p_alt != NULL
&& vim_regexec(&regmatch, p_alt, (colnr_T)0))) && vim_regexec(&regmatch, p_alt, (colnr_T)0))))
))
|| ((flags & EW_NOTWILD) || ((flags & EW_NOTWILD)
&& fnamencmp(path + (s - buf), p, e - s) == 0))) && fnamencmp(path + (s - buf), p, e - s) == 0)))
{ {

View File

@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
525,
/**/ /**/
524, 524,
/**/ /**/