comparison libass/ass_render.c @ 22282:c773409e6e43

Oops, forgot {} before "else".
author eugeni
date Wed, 21 Feb 2007 09:25:52 +0000
parents 9f95f9dcf832
children 14ed9bf94b71
comparison
equal deleted inserted replaced
22281:f00e6b43e79f 22282:c773409e6e43
1000 } else 1000 } else
1001 render_context.bold = render_context.style->Bold; 1001 render_context.bold = render_context.style->Bold;
1002 update_font(); 1002 update_font();
1003 } else if (mystrcmp(&p, "i")) { 1003 } else if (mystrcmp(&p, "i")) {
1004 int i; 1004 int i;
1005 if (mystrtoi(&p, 10, &i)) 1005 if (mystrtoi(&p, 10, &i)) {
1006 if (pwr >= .5) 1006 if (pwr >= .5)
1007 render_context.italic = i; 1007 render_context.italic = i;
1008 else 1008 } else
1009 render_context.italic = render_context.style->Italic; 1009 render_context.italic = render_context.style->Italic;
1010 update_font(); 1010 update_font();
1011 } else if (mystrcmp(&p, "kf") || mystrcmp(&p, "K")) { 1011 } else if (mystrcmp(&p, "kf") || mystrcmp(&p, "K")) {
1012 int val = strtol(p, &p, 10); 1012 int val = strtol(p, &p, 10);
1013 render_context.effect_type = EF_KARAOKE_KF; 1013 render_context.effect_type = EF_KARAOKE_KF;