0
0
mirror of https://github.com/vim/vim.git synced 2025-10-16 07:24:23 -04:00

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 <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Ola Söder
2025-09-28 17:53:02 +00:00
committed by Christian Brabandt
parent 02f8d2ebd5
commit 38b98bd8e6
2 changed files with 4 additions and 2 deletions

View 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
{

View File

@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1804,
/**/
1803,
/**/