summaryrefslogtreecommitdiff
path: root/eit2.c
diff options
context:
space:
mode:
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