From 3bb1102127d1b6c742236fb7786155d4607940b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Thu, 30 Aug 2007 07:27:01 +0000 Subject: [PATCH] correctly change duration if it changes --- epg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/epg.c b/epg.c index 8f5d1e9e..5fbd52c7 100644 --- a/epg.c +++ b/epg.c @@ -366,6 +366,7 @@ epg_update_event_by_id(th_channel_t *ch, uint16_t event_id, TAILQ_REMOVE(&ch->ch_epg_events, e, e_link); + e->e_duration = duration; e->e_start = start; TAILQ_INSERT_SORTED(&ch->ch_epg_events, e, e_link, startcmp);