Skip to content

Commit

Permalink
Subtitles: fix an incorrect CEA-708 font mapping.
Browse files Browse the repository at this point in the history
SetPenStyle was mapping the style to the wrong font tag.  This
generally only showed up as a slightly incorrect indent for subtitles
with leading spaces.
  • Loading branch information
stichnot committed Feb 27, 2012
1 parent b967448 commit 34c8767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/cc708window.cpp
Expand Up @@ -495,7 +495,7 @@ void CC708Window::LimitPenLocation(void)

void CC708Pen::SetPenStyle(uint style)
{
static const uint style2font[] = { 1, 1, 2, 3, 4, 5, 4, 5 };
static const uint style2font[] = { 0, 0, 1, 2, 3, 4, 3, 4 };

if ((style < 1) || (style > 7))
return;
Expand Down

0 comments on commit 34c8767

Please sign in to comment.