aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorjasper2007-05-21 07:53:11 +0000
committerjasper2007-05-21 07:53:11 +0000
commit6aa597fc616b53126c98039a92d48191aadd6074 (patch)
treee281e141ff63d1dcbe7c9570be8ee23df8a5a82f /calmwm.c
parentb049f54d6566a8ca4049cd168703909cd78da12e (diff)
downloadcwm-6aa597fc616b53126c98039a92d48191aadd6074.tar.gz
fix optind
ok ray@
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calmwm.c b/calmwm.c
index 3c2cc6f..0b1a386 100644
--- a/calmwm.c
+++ b/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)