changeset 27406:6eeaea929c14

Calculate subtitle origin in floating point.
author eugeni
date Thu, 07 Aug 2008 22:20:52 +0000
parents 7bb23987c5f0
children faeafa702d43
files libass/ass_render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Thu Aug 07 22:20:50 2008 +0000
+++ b/libass/ass_render.c	Thu Aug 07 22:20:52 2008 +0000
@@ -150,7 +150,7 @@
 		EVENT_VSCROLL // "Scroll up", "Scroll down" transition effects
 		} evt_type;
 	double pos_x, pos_y; // position
-	int org_x, org_y; // origin
+	double org_x, org_y; // origin
 	char have_origin; // origin is explicitly defined; if 0, get_base_point() is used
 	double scale_x, scale_y;
 	double hspacing; // distance between letters, in pixels