From f8ca92b87dc6e895eb84bec99b24fb3fb3d3e3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Fri, 10 Aug 2007 11:39:11 +0000 Subject: [PATCH] Dont reset status to UNKNOWN upon error --- teletext.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/teletext.c b/teletext.c index 003447af..dec83a30 100644 --- a/teletext.c +++ b/teletext.c @@ -350,10 +350,8 @@ teletext_rundown(th_transport_t *t, th_channel_t *ch, tt_page_t *ttp) prev = t->tht_tt_commercial_advice; - if(curlen < 0) { - t->tht_tt_commercial_advice = COMMERCIAL_UNKNOWN; + if(curlen < 0) return; - } if(curlen < 400) t->tht_tt_commercial_advice = COMMERCIAL_YES;