summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
Diffstat (limited to 'libhb')
-rw-r--r--libhb/deccc608sub.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libhb/deccc608sub.c b/libhb/deccc608sub.c
index ab9e2522e..77c677359 100644
--- a/libhb/deccc608sub.c
+++ b/libhb/deccc608sub.c
@@ -1515,12 +1515,13 @@ static void handle_pac(unsigned char c1, unsigned char c2, struct s_write *wb)
return;
}
}
- int color=pac2_attribs[c2][0];
- int font=pac2_attribs[c2][1];
+ wb->data608->color=pac2_attribs[c2][0];
+ wb->data608->font=pac2_attribs[c2][1];
int indent=pac2_attribs[c2][2];
if (debug_608)
- hb_log (" -- Position: %d:%d, color: %s, font: %s\n",row,
- indent,color_text[color][0],font_text[font]);
+ hb_log (" -- Position: %d:%d, color: %s, font: %s\n", row, indent,
+ color_text[wb->data608->color][0],
+ font_text[wb->data608->font]);
// CC spec says to the preferred method to handle a roll-up base row
// that causes the display to scroll off the top of the screen is to