[MPlayer-cvslog] r22300 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Wed Feb 21 10:25:53 CET 2007


Author: eugeni
Date: Wed Feb 21 10:25:52 2007
New Revision: 22300

Modified:
   trunk/libass/ass_render.c

Log:
Oops, forgot {} before "else".


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Wed Feb 21 10:25:52 2007
@@ -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")) {



More information about the MPlayer-cvslog mailing list