mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
turn some comparsions for a better readability
Origin commit data
------------------
Commit: bee4cb4959
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Origin message was:
------------------
- turn some comparsions for a better readability
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2717,14 +2717,14 @@ void CChannelList::showdescription(int index)
|
||||
if (nPosDot < epgData.info2.length() && nPosDot < epgData.info1.length()) { // Make sure we don't overrun the buffer
|
||||
|
||||
// Check if the stuff after the dot equals the beginning of info2
|
||||
if (0 == epgData.info2.find(epgData.info1.substr(nPosDot, epgData.info1.length() - nPosDot))) {
|
||||
if (epgData.info2.find(epgData.info1.substr(nPosDot, epgData.info1.length() - nPosDot)) == 0) {
|
||||
strEpisode = epgData.info1.substr(0, nPosDot) + "\n";
|
||||
bHide = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Compare strings normally if not positively found to be equal before
|
||||
if (false == bHide && 0 == epgData.info2.find(epgData.info1)) {
|
||||
if (false == bHide && epgData.info2.find(epgData.info1) == 0) {
|
||||
bHide = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user