mirror of https://github.com/mpv-player/mpv
Fix \a parsing broken in r22291
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22321 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a8007d3c44
commit
0a02ca6ec3
|
@ -834,7 +834,7 @@ static char* parse_tag(char* p, double pwr) {
|
|||
} 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
|
||||
|
|
Loading…
Reference in New Issue