Skip to content

Commit

Permalink
Fix infinite loop with -gend on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wootguy committed Jul 11, 2017
1 parent c705e5f commit c99cf2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ vector<string> getSubdirs( string path )
else
{
if (FindFileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY &&
(FindFileData.cFileName, ".") &&
strcasecmp(FindFileData.cFileName, ".") &&
strcasecmp(FindFileData.cFileName, "..") )
results.push_back(FindFileData.cFileName);

Expand Down

0 comments on commit c99cf2f

Please sign in to comment.