diff options
author | jasper | 2007-05-21 07:53:11 +0000 |
---|---|---|
committer | jasper | 2007-05-21 07:53:11 +0000 |
commit | 6aa597fc616b53126c98039a92d48191aadd6074 (patch) | |
tree | e281e141ff63d1dcbe7c9570be8ee23df8a5a82f | |
parent | b049f54d6566a8ca4049cd168703909cd78da12e (diff) | |
download | cwm-6aa597fc616b53126c98039a92d48191aadd6074.tar.gz |
fix optind
ok ray@
Diffstat (limited to '')
-rw-r--r-- | calmwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * Copyright (c) 2004 Marius Aamodt Eriksen <marius@monkey.org> * All rights reserved. * - * $Id: calmwm.c,v 1.2 2007/05/10 17:23:49 jasper Exp $ + * $Id: calmwm.c,v 1.3 2007/05/21 07:53:11 jasper Exp $ */ #include "headers.h" @@ -75,7 +75,7 @@ main(int argc, char **argv) } } argc -= optind; - argv +- optind; + argv += optind; /* Ignore a few signals. */ if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) |