patch 9.1.1804: Wrong indentation of nested ifdefs in findfile.c
Commit:
https://github.com/vim/vim/commit/38b98bd8e6bfd46c32c7de9d99d7556bbc68c08f
Author: Ola Söder <
rolfk...@gmail.com>
Date: Sun Sep 28 17:53:02 2025 +0000
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 <
rolfk...@gmail.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/src/findfile.c b/src/findfile.c
index c1318384e..c0418d51c 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 ecf543523..b25bb95a2 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,
/**/