diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-05-21 07:53:12 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2007-05-21 07:53:12 +0000 |
commit | 15955372be15ad256ae7cdcbef3e6485a7af5364 (patch) | |
tree | e003f7e27d29ed59ce9f11ed92d45e44e11e981c /app/cwm/calmwm.c | |
parent | 3f97a1760aafeea4479afb9df0557a188a9b596c (diff) |
fix optind
ok ray@
Diffstat (limited to 'app/cwm/calmwm.c')
-rw-r--r-- | app/cwm/calmwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/calmwm.c b/app/cwm/calmwm.c index 3c2cc6fc6..0b1a3866d 100644 --- a/app/cwm/calmwm.c +++ b/app/cwm/calmwm.c @@ -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) |