Skip to content

Commit 40655d5

Browse files
committed
patch 8.2.0525: Win32: typo in assignment and misplaced paren
Problem: Win32: typo in assignment and misplaced paren. Solution: Fix the syntax.
1 parent c74fbfe commit 40655d5

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/filepath.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3168,7 +3168,7 @@ dos_expandpath(
31683168
break; // out of memory
31693169

31703170
if (*wfb.cAlternateFileName == NUL)
3171-
p_alt == NULL;
3171+
p_alt = NULL;
31723172
else
31733173
p_alt = utf16_to_enc(wfb.cAlternateFileName, NULL);
31743174

@@ -3179,10 +3179,9 @@ dos_expandpath(
31793179
&& p[1] != NUL && (p[1] != '.' || p[2] != NUL)))
31803180
&& (matchname == NULL
31813181
|| (regmatch.regprog != NULL
3182-
&& (vim_regexec(&regmatch, p, (colnr_T)0)
3182+
&& (vim_regexec(&regmatch, p, (colnr_T)0)
31833183
|| (p_alt != NULL
3184-
&& vim_regexec(&regmatch, p_alt, (colnr_T)0)))
3185-
))
3184+
&& vim_regexec(&regmatch, p_alt, (colnr_T)0))))
31863185
|| ((flags & EW_NOTWILD)
31873186
&& fnamencmp(path + (s - buf), p, e - s) == 0)))
31883187
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
525,
741743
/**/
742744
524,
743745
/**/

0 commit comments

Comments
 (0)