]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1804: Wrong indentation of nested ifdefs in findfile.c v9.1.1804
authorOla Söder <rolfkopman@gmail.com>
Sun, 28 Sep 2025 17:53:02 +0000 (17:53 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 28 Sep 2025 17:53:02 +0000 (17:53 +0000)
Problem:  Wrong indentation of nested ifdefs in findfile.c
Solution: Update indentation (Ola Söder)

closes: #18422

Signed-off-by: Ola Söder <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/findfile.c
src/version.c

index c1318384e4dd35b0a8d4222433564e537042ceca..c0418d51c3eaa485517db0bd5a8551dd5b8050bd 100644 (file)
@@ -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
     {
index ecf543523a3983ec3d3a8301cbb0702b7422e99f..b25bb95a2bd7320b3dd71c1003e5d11a6aec5eef 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1804,
 /**/
     1803,
 /**/