diff options
author | Christian Wieninger <cwieninger@gmx.de> | 2011-09-22 19:43:08 +0200 |
---|---|---|
committer | Christian Wieninger <cwieninger@gmx.de> | 2011-09-22 19:43:08 +0200 |
commit | eff341390c079060d0904a53b7eebe84e2315f3a (patch) | |
tree | d45d902e7a7022a95a3e9c58346d88c45e0da517 /pending_notifications.c | |
parent | be2c5ff1bfdff45d384981816ef692f0179a7f15 (diff) | |
download | vdr-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.c | 12 |
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":""); |