summaryrefslogtreecommitdiff
path: root/mail.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2008-01-10 22:46:33 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2008-01-10 22:46:33 +0100
commitf34b37768ace133280db8b4ddeedf1c493cb768a (patch)
tree5025061fc01a608217aee0698d209748def67ca8 /mail.c
parent13f1b55d07a6bd84378f711d3b72d1238ba9a712 (diff)
downloadvdr-plugin-epgsearch-f34b37768ace133280db8b4ddeedf1c493cb768a.tar.gz
vdr-plugin-epgsearch-f34b37768ace133280db8b4ddeedf1c493cb768a.tar.bz2
- fixed compile warnings from g++-4.3
Diffstat (limited to 'mail.c')
-rw-r--r--mail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail.c b/mail.c
index 4f3bd3f..74c1404 100644
--- a/mail.c
+++ b/mail.c
@@ -74,10 +74,12 @@ bool cMailTimerNotification::operator< (const cMailTimerNotification &N) const
const cEvent* event = GetEvent();
const cEvent* eventOther = N.GetEvent();
if (event && eventOther) // sort event by start time and channel
+ {
if (event->StartTime() == eventOther->StartTime())
return channel->Number() < channelOther->Number();
else
return event->StartTime() < eventOther->StartTime();
+ }
return false;
}