mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
made order of search timer list case insensitive
This commit is contained in:
parent
dad778ee7b
commit
490beed385
1
HISTORY
1
HISTORY
@ -129,3 +129,4 @@ Version 1.2.0
|
|||||||
red key.
|
red key.
|
||||||
- Added possibility to create a recording from search timer result list
|
- Added possibility to create a recording from search timer result list
|
||||||
- Set minimum time to display in Plugin Setup from 120 to 60 minutes
|
- Set minimum time to display in Plugin Setup from 120 to 60 minutes
|
||||||
|
- made order of search timer list case insensitive
|
||||||
|
@ -73,7 +73,9 @@ cTVGuideSearchTimer::~cTVGuideSearchTimer(void) {
|
|||||||
|
|
||||||
bool cTVGuideSearchTimer::operator < (const cTVGuideSearchTimer& other) const {
|
bool cTVGuideSearchTimer::operator < (const cTVGuideSearchTimer& other) const {
|
||||||
std::string searchStringOther = other.SearchString();
|
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)
|
if (comp < 0)
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#error "VDR-2.0.0 API version or greater is required!"
|
#error "VDR-2.0.0 API version or greater is required!"
|
||||||
#endif
|
#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 *DESCRIPTION = "A fancy 2d EPG Viewer";
|
||||||
static const char *MAINMENUENTRY = "Tvguide";
|
static const char *MAINMENUENTRY = "Tvguide";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user