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 | |
parent | dad778ee7bbc00b6130f7d613a7e133c4fb844eb (diff) | |
download | vdr-plugin-tvguide-490beed385054354bba92d0ffbd68621f79c9630.tar.gz vdr-plugin-tvguide-490beed385054354bba92d0ffbd68621f79c9630.tar.bz2 |
made order of search timer list case insensitive
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | searchtimer.c | 4 | ||||
-rw-r--r-- | tvguide.c | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -129,3 +129,4 @@ Version 1.2.0 red key. - Added possibility to create a recording from search timer result list - Set minimum time to display in Plugin Setup from 120 to 60 minutes +- made order of search timer list case insensitive 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;
@@ -26,7 +26,7 @@ #error "VDR-2.0.0 API version or greater is required!" #endif -static const char *VERSION = "1.2.1pre"; +static const char *VERSION = "1.2.1"; static const char *DESCRIPTION = "A fancy 2d EPG Viewer"; static const char *MAINMENUENTRY = "Tvguide"; |