[benchmark-shape,hb-shape-threads] Fix argument parsing order
After recent change.
This commit is contained in:
parent
c03a31417b
commit
697287fbd7
|
@ -145,8 +145,8 @@ int main(int argc, char** argv)
|
||||||
for (unsigned i = 0; i < num_tests; i++)
|
for (unsigned i = 0; i < num_tests; i++)
|
||||||
{
|
{
|
||||||
tests[i].is_variable = true;
|
tests[i].is_variable = true;
|
||||||
tests[i].text_path = argv[1 + i * 2];
|
tests[i].font_path = argv[1 + i * 2];
|
||||||
tests[i].font_path = argv[2 + i * 2];
|
tests[i].text_path = argv[2 + i * 2];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -185,8 +185,8 @@ int main(int argc, char** argv)
|
||||||
for (unsigned i = 0; i < num_tests; i++)
|
for (unsigned i = 0; i < num_tests; i++)
|
||||||
{
|
{
|
||||||
tests[i].is_variable = true;
|
tests[i].is_variable = true;
|
||||||
tests[i].text_path = argv[3 + i * 2];
|
tests[i].font_path = argv[3 + i * 2];
|
||||||
tests[i].font_path = argv[4 + i * 2];
|
tests[i].text_path = argv[4 + i * 2];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue