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.
|
||||
- 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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user