changeset 22303:14ed9bf94b71

Fix \a parsing broken in r22291
author uau
date Fri, 23 Feb 2007 03:08:54 +0000
parents cfae965793cb
children 254733f57707
files libass/ass_render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Fri Feb 23 02:10:02 2007 +0000
+++ b/libass/ass_render.c	Fri Feb 23 03:08:54 2007 +0000
@@ -834,7 +834,7 @@
 		} else
 			render_context.alignment = render_context.style->Alignment;
 	} else if (mystrcmp(&p, "a")) {
-		int val = strtol(p, &p, 10);
+		int val;
 		if (mystrtoi(&p, 10, &val) && val)
 			render_context.alignment = val;
 		else