Skip to content

Commit

Permalink
Fixed a small typo in crunchMake's Windows-specific object checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Jan 1, 2024
1 parent 74c1b3b commit c8b27b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crunchMake/crunchMake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ namespace crunch
// as link cannot consume them and will error.
const auto dot{value.rfind('.')};
if (dot != internal::stringView::npos &&
file.compare(dot, internal::stringView::npos, ".dll"_sv) == 0)
value.compare(dot, internal::stringView::npos, ".dll"_sv) == 0)
continue;
#endif
linkObjs.emplace_back(value);
Expand Down

0 comments on commit c8b27b4

Please sign in to comment.