diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-21 13:39:38 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-08-21 13:39:38 -0400 |
commit | 7039f313910fc00c1937d09950fac17f516b0a96 (patch) | |
tree | abaefe314da93652575fe9c5df595a78dbd1d891 /testsuite/performance | |
parent | 5377026e610358f68d676ab0ba6d3e7d4e8f0636 (diff) | |
download | gtk+-7039f313910fc00c1937d09950fac17f516b0a96.tar.gz |
fixup a counting error
Remember: 1, 2, 3, _4_, 5...
Diffstat (limited to 'testsuite/performance')
-rw-r--r-- | testsuite/performance/test-performance.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/performance/test-performance.c b/testsuite/performance/test-performance.c index 2a8b6d902c..b6b53de2d1 100644 --- a/testsuite/performance/test-performance.c +++ b/testsuite/performance/test-performance.c @@ -135,10 +135,10 @@ main (int argc, char *argv[]) child_argv[1] = (char *)"--force"; child_argv[2] = (char *)"--use-trace-fd"; child_argv[3] = name; - child_argv[5] = (char *)"--"; + child_argv[4] = (char *)"--"; for (i = 0; i + 1 < argc; i++) - child_argv[6 + i] = argv[i + 1]; - child_argv[6 + argc - 1] = NULL; + child_argv[5 + i] = argv[i + 1]; + child_argv[5 + argc - 1] = NULL; launcher = g_subprocess_launcher_new (0); g_subprocess_launcher_setenv (launcher, "GTK_DEBUG_AUTO_QUIT", "1", TRUE); |