From 7fd0bb96b1040e8be04fc4f1f4e72b39c180515d Mon Sep 17 00:00:00 2001 From: Devin Heitmueller Date: Tue, 13 Sep 2011 00:23:21 +0200 Subject: [PATCH] Fix improper rendering of PAC codes containing color or font styles (CC) --- modules/codec/cc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/codec/cc.c b/modules/codec/cc.c index ff17c0041b..7fe63bde86 100644 --- a/modules/codec/cc.c +++ b/modules/codec/cc.c @@ -750,6 +750,9 @@ static bool Eia608ParsePac( eia608_t *h, uint8_t d1, uint8_t d2 ) else if( d2 >= 0x40 ) d2 -= 0x40; h->cursor.i_column = pac2_attribs[d2].i_column; + h->color = pac2_attribs[d2].i_color; + h->font = pac2_attribs[d2].i_font; + return false; } -- 2.11.4.GIT