From 9f9cd4c200ebe69f2cd8ee8ef463855409d7d3ea Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 24 Jul 2018 13:18:35 +0900 Subject: [PATCH] elm test - unbreak elm test ... 7ebcb710d2776a0bbd905552226dc1141a18ef7d / D6668 breaks elm test. a fix actually that breaks it even more. before only --help didn't work... now -to/--test-win-only is broken which is the actually useful option... :) --- src/bin/elementary/test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/elementary/test.c b/src/bin/elementary/test.c index 07af101a7f..a3e10f85fe 100644 --- a/src/bin/elementary/test.c +++ b/src/bin/elementary/test.c @@ -1333,11 +1333,11 @@ efl_main(void *data EINA_UNUSED, { /* Just a workaround to make the shot module more * useful with elementary test. */ - if ((!strcmp(eina_array_data_get(arge->argv, 2), "--test-win-only")) || - (!strcmp(eina_array_data_get(arge->argv, 2), "-to"))) + if ((!strcmp(eina_array_data_get(arge->argv, 1), "--test-win-only")) || + (!strcmp(eina_array_data_get(arge->argv, 1), "-to"))) { test_win_only = EINA_TRUE; - autorun = eina_array_data_get(arge->argv, 3); + autorun = eina_array_data_get(arge->argv, 2); } }