Skip to content

Commit

Permalink
Merge pull request #10 from daulet/master
Browse files Browse the repository at this point in the history
Fix -includedir parameter handling: match directory names, not full directory paths
  • Loading branch information
JohnWintellect authored Aug 22, 2017
2 parents c145f2a + f35d1c0 commit 293a072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FF/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ static private void RecurseFiles(String directory)
String subDirectory = Path.Combine(directory, w32FindData.cFileName);
if (Options.IncludeDirectories)
{
if (IsNameMatch(subDirectory))
if (IsNameMatch(w32FindData.cFileName))
{
Interlocked.Increment(ref totalMatches);
QueueConsoleWriteLine(subDirectory);
Expand Down

0 comments on commit 293a072

Please sign in to comment.