make: cleanup style in FindFile

Since we removed the last check for isinclude,
restore to the previous indentation etc.

No functional change.
This commit is contained in:
sjg 2024-05-20 19:14:12 +00:00
parent 8f43f9fe88
commit 034e15ae19
1 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dir.c,v 1.289 2024/05/20 16:04:46 sjg Exp $ */
/* $NetBSD: dir.c,v 1.290 2024/05/20 19:14:12 sjg Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@ -132,7 +132,7 @@
#include "job.h"
/* "@(#)dir.c 8.2 (Berkeley) 1/2/94" */
MAKE_RCSID("$NetBSD: dir.c,v 1.289 2024/05/20 16:04:46 sjg Exp $");
MAKE_RCSID("$NetBSD: dir.c,v 1.290 2024/05/20 19:14:12 sjg Exp $");
/*
* A search path is a list of CachedDir structures. A CachedDir has in it the
@ -1206,8 +1206,7 @@ FindFile(const char *name, SearchPath *path, bool isinclude)
return file;
}
if (seenDotLast
&& (file = DirFindDot(name, base)) != NULL)
if (seenDotLast && (file = DirFindDot(name, base)) != NULL)
return file;
}