Fix the setup for initial processing. Always use argv[0] and correctly
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 30 Sep 2004 10:08:46 +0000 (10:08 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 30 Sep 2004 10:08:46 +0000 (10:08 +0000)
commit63188cdda6e8ad542edb509aaa96883eccaa3e56
tree890c848b2e215d1d51d6adb73b95871241d56174
parent1a7434d5a41f00aa45d7dbc38a15e49b991ba734
Fix the setup for initial processing. Always use argv[0] and correctly
decrement argc for the argc!=1 case first.

Reported-by: Andreas Hauser <andy@splashground.de>
usr.bin/soelim/soelim.c