patch 8.2.0525: Win32: typo in assignment and misplaced paren
Problem: Win32: typo in assignment and misplaced paren.
Solution: Fix the syntax.
diff --git a/src/filepath.c b/src/filepath.c
index c37455e..81f90c3 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -3168,7 +3168,7 @@
break; // out of memory
if (*wfb.cAlternateFileName == NUL)
- p_alt == NULL;
+ p_alt = NULL;
else
p_alt = utf16_to_enc(wfb.cAlternateFileName, NULL);
@@ -3179,10 +3179,9 @@
&& p[1] != NUL && (p[1] != '.' || p[2] != NUL)))
&& (matchname == NULL
|| (regmatch.regprog != NULL
- && (vim_regexec(®match, p, (colnr_T)0)
+ && (vim_regexec(®match, p, (colnr_T)0)
|| (p_alt != NULL
- && vim_regexec(®match, p_alt, (colnr_T)0)))
- ))
+ && vim_regexec(®match, p_alt, (colnr_T)0))))
|| ((flags & EW_NOTWILD)
&& fnamencmp(path + (s - buf), p, e - s) == 0)))
{
diff --git a/src/version.c b/src/version.c
index ae61cf2..40f5b14 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 525,
+/**/
524,
/**/
523,