changeset 22282:c773409e6e43

Oops, forgot {} before "else".
author eugeni
date Wed, 21 Feb 2007 09:25:52 +0000
parents f00e6b43e79f
children bc9e95184521
files libass/ass_render.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Wed Feb 21 03:13:48 2007 +0000
+++ b/libass/ass_render.c	Wed Feb 21 09:25:52 2007 +0000
@@ -1002,10 +1002,10 @@
 		update_font();
 	} else if (mystrcmp(&p, "i")) {
 		int i;
-		if (mystrtoi(&p, 10, &i))
+		if (mystrtoi(&p, 10, &i)) {
 			if (pwr >= .5)
 				render_context.italic = i;
-		else
+		} else
 			render_context.italic = render_context.style->Italic;
 		update_font();
 	} else if (mystrcmp(&p, "kf") || mystrcmp(&p, "K")) {