Skip to content

Commit f35d1c0

Browse files
committed
Fix -includedir parameter handling: match directory names, not directory paths
1 parent c145f2a commit f35d1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FF/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ static private void RecurseFiles(String directory)
307307
String subDirectory = Path.Combine(directory, w32FindData.cFileName);
308308
if (Options.IncludeDirectories)
309309
{
310-
if (IsNameMatch(subDirectory))
310+
if (IsNameMatch(w32FindData.cFileName))
311311
{
312312
Interlocked.Increment(ref totalMatches);
313313
QueueConsoleWriteLine(subDirectory);

0 commit comments

Comments
 (0)