summaryrefslogtreecommitdiff
path: root/eit2.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2012-10-28 16:47:07 +0100
committerDimitar Petrovski <dimeptr@gmail.com>2012-10-28 16:47:07 +0100
commitbf45a222e707b0f778bc39abb171813bc39dd194 (patch)
tree9cfedd2920839080a876c8d92f25acc322cfdf5f /eit2.c
parent16803744f86b3580ce8b80595a361ee3ba2ea3b3 (diff)
downloadvdr-plugin-eepg-bf45a222e707b0f778bc39abb171813bc39dd194.tar.gz
vdr-plugin-eepg-bf45a222e707b0f778bc39abb171813bc39dd194.tar.bz2
fixed tChannelIDCompare which fixes the event map.
try to change the activation of the thread. should be workged some more fix the Original Air Date for NA epg
Diffstat (limited to 'eit2.c')
-rw-r--r--eit2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eit2.c b/eit2.c
index 8d04486..87064c5 100644
--- a/eit2.c
+++ b/eit2.c
@@ -398,8 +398,8 @@ void cEIT2::ProcessEventDescriptors(bool ExternalData, int Source,
time_t orgAirDate = DishEventDescriptor->getOriginalAirDate();
char datestr [80];
bool dateok = false;
- if (orgAirDate == 0) {
- dateok = strftime (datestr,80," Original Air Date: %a %b %d %Y",gmtime(&orgAirDate)) > 0;
+ if (orgAirDate != 0) {
+ dateok = strftime (datestr,80," \nOriginal Air Date: %a %b %d %Y",gmtime(&orgAirDate)) > 0;
}
Asprintf (&tmp, fmt.c_str(), description