about summary refs log tree commit diff
path: root/xe.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-01-16 23:38:53 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-01-16 23:38:53 +0100
commit59432f5824ca080eef4c5de712b93e9f8b9b1946 (patch)
treec18f061c9e2a38bf5eb6b9a99f76b8d682202088 /xe.c
parent1a3f3fb3b31fe915cac4bf8c2f49553d11f0b83f (diff)
downloadxe-59432f5824ca080eef4c5de712b93e9f8b9b1946.tar.gz
xe-59432f5824ca080eef4c5de712b93e9f8b9b1946.tar.xz
xe-59432f5824ca080eef4c5de712b93e9f8b9b1946.zip
fix appending of constant arguments
Diffstat (limited to 'xe.c')
-rw-r--r--xe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xe.c b/xe.c
index b967820..cab012e 100644
--- a/xe.c
+++ b/xe.c
@@ -361,7 +361,7 @@ main(int argc, char *argv[], char *envp[])
 		}
 
 		for (argsresv = 0, j = i; j < cmdend; j++)
-			if (!pusharg(argv[i]))
+			if (!pusharg(argv[j]))
 				toolong();
 
 		run();