diff options
-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"; |