From 6aa597fc616b53126c98039a92d48191aadd6074 Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 21 May 2007 07:53:11 +0000 Subject: fix optind ok ray@ --- calmwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calmwm.c') 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 * 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) -- cgit v1.2.3-2-gb3c3