summaryrefslogtreecommitdiff
path: root/pending_notifications.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger@gmx.de>2011-09-22 19:43:08 +0200
committerChristian Wieninger <cwieninger@gmx.de>2011-09-22 19:43:08 +0200
commiteff341390c079060d0904a53b7eebe84e2315f3a (patch)
treed45d902e7a7022a95a3e9c58346d88c45e0da517 /pending_notifications.c
parentbe2c5ff1bfdff45d384981816ef692f0179a7f15 (diff)
downloadvdr-plugin-epgsearch-eff341390c079060d0904a53b7eebe84e2315f3a.tar.gz
vdr-plugin-epgsearch-eff341390c079060d0904a53b7eebe84e2315f3a.tar.bz2
Delete trailing whitespace, thanks to Ville Skyttä for patches
Diffstat (limited to 'pending_notifications.c')
-rw-r--r--pending_notifications.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pending_notifications.c b/pending_notifications.c
index d136528..bd96953 100644
--- a/pending_notifications.c
+++ b/pending_notifications.c
@@ -69,16 +69,16 @@ bool cPendingNotification::Read(FILE *f)
{
p->type = Type;
p->eventID = EventID;
- p->timerMod = TimerMod;
+ p->timerMod = TimerMod;
p->searchID = SearchID;
p->start = Start;
PendingNotifications.Add(p);
}
}
- }
+ }
break;
- case 'C':
+ case 'C':
{
s = skipspace(s + 1);
char *pC = strchr(s, ' ');
@@ -120,13 +120,13 @@ const char *cPendingNotification::ToText(void) const
if (buffer)
free(buffer);
buffer = NULL;
-
+
cChannel *channel = Channels.GetByChannelID(channelID, true, true);
if (!channel)
LogFile.Log(3,"invalid channel in pending notifications!");
- msprintf(&buffer, "N %d %u %d %d %ld\nC %s\n%s%s%sn",
- type, eventID, timerMod, searchID, start,
+ msprintf(&buffer, "N %d %u %d %d %ld\nC %s\n%s%s%sn",
+ type, eventID, timerMod, searchID, start,
channel?CHANNELSTRING(channel):"",
tmpFormatted?"F ":"",tmpFormatted?tmpFormatted:"", tmpFormatted?"\n":"");