summaryrefslogtreecommitdiff
path: root/searchtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'searchtimer.c')
-rw-r--r--searchtimer.c4
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;