diff options
author | louis <louis.braun@gmx.de> | 2014-02-08 09:57:14 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-02-08 09:57:14 +0100 |
commit | 490beed385054354bba92d0ffbd68621f79c9630 (patch) | |
tree | 0dde36f9ac65ef41155a69ac8c3d4ed08cb22759 /searchtimer.c | |
parent | dad778ee7bbc00b6130f7d613a7e133c4fb844eb (diff) | |
download | vdr-plugin-tvguide-490beed385054354bba92d0ffbd68621f79c9630.tar.gz vdr-plugin-tvguide-490beed385054354bba92d0ffbd68621f79c9630.tar.bz2 |
made order of search timer list case insensitive
Diffstat (limited to 'searchtimer.c')
-rw-r--r-- | searchtimer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/searchtimer.c b/searchtimer.c index 04601fb..7e9b4db 100644 --- a/searchtimer.c +++ b/searchtimer.c @@ -73,7 +73,9 @@ cTVGuideSearchTimer::~cTVGuideSearchTimer(void) { bool cTVGuideSearchTimer::operator < (const cTVGuideSearchTimer& other) const {
std::string searchStringOther = other.SearchString();
- int comp = searchString.compare(searchStringOther);
+ searchStringOther = StrToLowerCase(searchStringOther);
+ std::string thisSearchString = StrToLowerCase(searchString);
+ int comp = thisSearchString.compare(searchStringOther);
if (comp < 0)
return true;
return false;
|