[libpng16] Fix tarith argument parsing
This commit is contained in:
parent
d6cf3a3791
commit
e2ae0f2f2b
@ -90,12 +90,12 @@ int validation_ascii_to_fp(int count, int argc, char **argv)
|
|||||||
while (--argc > 0)
|
while (--argc > 0)
|
||||||
if (strcmp(*++argv, "-a") == 0)
|
if (strcmp(*++argv, "-a") == 0)
|
||||||
showall = 1;
|
showall = 1;
|
||||||
else if (strcmp(*++argv, "-e") == 0 && argc > 0)
|
else if (strcmp(*argv, "-e") == 0 && argc > 0)
|
||||||
{
|
{
|
||||||
--argc;
|
--argc;
|
||||||
max_error = atof(*++argv);
|
max_error = atof(*++argv);
|
||||||
}
|
}
|
||||||
else if (strcmp(*++argv, "-E") == 0 && argc > 0)
|
else if (strcmp(*argv, "-E") == 0 && argc > 0)
|
||||||
{
|
{
|
||||||
--argc;
|
--argc;
|
||||||
max_error_abs = atof(*++argv);
|
max_error_abs = atof(*++argv);
|
||||||
|
Loading…
Reference in New Issue
Block a user