about summary refs log tree commit diff
path: root/calmwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.c b/calmwm.c
index 8cab0db..baa80c4 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -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)