changeset 22209:5add218bb6c3

\r resets \frz to style value.
author eugeni
date Thu, 15 Feb 2007 21:53:28 +0000
parents c49aefdc37f6
children 4a958bd08920
files libass/ass_render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Thu Feb 15 21:51:51 2007 +0000
+++ b/libass/ass_render.c	Thu Feb 15 21:53:28 2007 +0000
@@ -1151,6 +1151,7 @@
 	render_context.hspacing = 0; // FIXME
 	render_context.be = 0;
 	render_context.shadow = render_context.style->Shadow;
+	render_context.rotation = M_PI * render_context.style->Angle / 180.;
 
 	// FIXME: does not reset unsupported attributes.
 }
@@ -1167,7 +1168,6 @@
 
 	render_context.evt_type = EVENT_NORMAL;
 	render_context.alignment = 0;
-	render_context.rotation = M_PI * render_context.style->Angle / 180.;
 	render_context.pos_x = 0;
 	render_context.pos_y = 0;
 	render_context.org_x = 0;