This ! shouldn't be there

This commit is contained in:
mniip 2013-12-16 00:17:40 +04:00
parent 9db1358ca3
commit c3cf0638d6

View File

@ -110,7 +110,7 @@ void ElementSearchActivity::searchTools(std::string query)
exactmatches.push_back(*iter);
else if(!strncmp(nameLower.c_str(), queryLower.c_str(), queryLower.length()))
frontmatches.push_back(*iter);
else if(!strstr(nameLower.c_str(), queryLower.c_str()))
else if(strstr(nameLower.c_str(), queryLower.c_str()))
matches.push_back(*iter);
}