diff --git a/perf/benchmark-shape.cc b/perf/benchmark-shape.cc index 4d3633500..626a59777 100644 --- a/perf/benchmark-shape.cc +++ b/perf/benchmark-shape.cc @@ -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]; } } diff --git a/test/threads/hb-shape-threads.cc b/test/threads/hb-shape-threads.cc index 16959caf3..96dff3441 100644 --- a/test/threads/hb-shape-threads.cc +++ b/test/threads/hb-shape-threads.cc @@ -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]; } }