mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
eventlist.cpp: sort titele by time
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f3ff624f1
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-04-26 (Thu, 26 Apr 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -78,7 +78,7 @@ bool sortById (const CChannelEvent& a, const CChannelEvent& b)
|
|||||||
inline bool sortByDescription (const CChannelEvent& a, const CChannelEvent& b)
|
inline bool sortByDescription (const CChannelEvent& a, const CChannelEvent& b)
|
||||||
{
|
{
|
||||||
if(a.description == b.description)
|
if(a.description == b.description)
|
||||||
return a.eventID < b.eventID;
|
return a.startTime < b.startTime;
|
||||||
else
|
else
|
||||||
return a.description < b.description ;
|
return a.description < b.description ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user