string literals with lowercase changed into uppercase.

This commit is contained in:
Roland Jax
2014-10-08 16:53:07 +02:00
parent e770f94038
commit 71e1c88cd0
3 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ int calcAreas(const std::string areas)
for (std::vector<std::string>::iterator it = cmd.begin() ; it != cmd.end(); ++it)
for (int i = 0; i < Size_of_Areas; i++) {
if (strcasecmp("all", it->c_str()) == 0)
if (strcasecmp("ALL", it->c_str()) == 0)
return (pow(2, (int)Size_of_Areas) - 1);
if (strcasecmp(AreaNames[i], it->c_str()) == 0)