]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dont float any description if the description string is empty
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 10 Feb 2008 14:00:07 +0000 (14:00 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 10 Feb 2008 14:00:07 +0000 (14:00 +0000)
htmlui.c

index 738550af2936e214a9d65f878d85bf9def8dcf47..6a0bf1a29ab172409baa860f92d00005dfb847da 100644 (file)
--- a/htmlui.c
+++ b/htmlui.c
@@ -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),