dont float any description if the description string is empty

This commit is contained in:
Andreas Öman 2008-02-10 14:00:07 +00:00
parent dbf7b7228e
commit 4487e78ee4

View file

@ -364,7 +364,7 @@ output_event(http_connection_t *hc, tcp_queue_t *tq, th_channel_t *ch,
cur = epg_event_get_current(ch);
if(!simple && e->e_desc != NULL) {
if(!simple && e->e_desc != NULL && e->e_desc[0] != 0) {
esacpe_char(bufa, sizeof(bufa), e->e_desc, '\'', "");
snprintf(overlibstuff, sizeof(overlibstuff),