Commit 7fd0bb96 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Laurent Aimar

Fix improper rendering of PAC codes containing color or font styles (CC)

parent 510a29d8
...@@ -750,6 +750,9 @@ static bool Eia608ParsePac( eia608_t *h, uint8_t d1, uint8_t d2 ) ...@@ -750,6 +750,9 @@ static bool Eia608ParsePac( eia608_t *h, uint8_t d1, uint8_t d2 )
else if( d2 >= 0x40 ) else if( d2 >= 0x40 )
d2 -= 0x40; d2 -= 0x40;
h->cursor.i_column = pac2_attribs[d2].i_column; 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; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment