From: Ola Söder Date: Sun, 28 Sep 2025 17:53:02 +0000 (+0000) Subject: patch 9.1.1804: Wrong indentation of nested ifdefs in findfile.c X-Git-Tag: v9.1.1804^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38b98bd8e6bfd46c32c7de9d99d7556bbc68c08f;p=thirdparty%2Fvim.git patch 9.1.1804: Wrong indentation of nested ifdefs in findfile.c Problem: Wrong indentation of nested ifdefs in findfile.c Solution: Update indentation (Ola Söder) closes: #18422 Signed-off-by: Ola Söder Signed-off-by: Christian Brabandt --- diff --git a/src/findfile.c b/src/findfile.c index c1318384e4..c0418d51c3 100644 --- a/src/findfile.c +++ b/src/findfile.c @@ -2779,7 +2779,7 @@ simplify_filename(char_u *filename) } start = p; // remember start after "c:/" or "/" or "///" p_end = p + STRLEN(p); -#ifdef UNIX +# ifdef UNIX // Posix says that "//path" is unchanged but "///path" is "/path". if (start > filename + 2) { @@ -2787,7 +2787,7 @@ simplify_filename(char_u *filename) p_end -= (size_t)(p - (filename + 1)); start = p = filename + 1; } -#endif +# endif do { diff --git a/src/version.c b/src/version.c index ecf543523a..b25bb95a2b 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1804, /**/ 1803, /**/