mirror of https://github.com/mpv-player/mpv
Oops, forgot {} before "else".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22300 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
45f2227e52
commit
6177b51841
|
@ -1002,10 +1002,10 @@ static char* parse_tag(char* p, double pwr) {
|
|||
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")) {
|
||||
|
|
Loading…
Reference in New Issue