Skip to content

Commit

Permalink
ignore case when checking if package name begins with lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvio Cesare authored and Silvio Cesare committed Aug 10, 2012
1 parent 41818e7 commit 6218eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Clonewise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ LoadSignature(const std::string &name, const std::string &filename, ClonewiseSig
signature.scoreAll = 0.0;
signature.scoreCode = 0.0;
signature.scoreData = 0.0;
if (strncmp(name.c_str(), "lib", 3) == 0) {
if (strncasecmp(name.c_str(), "lib", 3) == 0) {
signature.hasLibInPackageName = true;
} else {
signature.hasLibInPackageName = false;
Expand Down

0 comments on commit 6218eb3

Please sign in to comment.