mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[benchmark-shape,hb-shape-threads] Fix argument parsing order
After recent change.
This commit is contained in:
1 parent
c03a31417b
commit
697287fbd7
2 files changed
+4
-4
No files matched your search
@@ -145,8 +145,8 @@ int main(int argc, char** argv)
|
||||
for (unsigned i = 0; i < num_tests; i++)
|
||||
{
|
||||
tests[i].is_variable = true;
|
||||
tests[i].text_path = argv[1 + i * 2];
|
||||
tests[i].font_path = argv[2 + i * 2];
|
||||
tests[i].font_path = argv[1 + 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++)
|
||||
{
|
||||
tests[i].is_variable = true;
|
||||
tests[i].text_path = argv[3 + i * 2];
|
||||
tests[i].font_path = argv[4 + i * 2];
|
||||
tests[i].font_path = argv[3 + i * 2];
|
||||
tests[i].text_path = argv[4 + i * 2];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user