perform case insensitive searching in text fields

This commit is contained in:
Andrzej Rybczak
2009-11-23 20:18:57 +01:00
parent 5aa1613cfb
commit 6cd420511d
8 changed files with 37 additions and 31 deletions

View File

@@ -23,11 +23,6 @@
#include "conv.h"
void ToLower(std::string &s)
{
transform(s.begin(), s.end(), s.begin(), tolower);
}
int StrToInt(const std::string &str)
{
return atoi(str.c_str());