--- ray/src/common/image.c 2003/02/25 02:47:21 2.17 +++ ray/src/common/image.c 2003/08/26 04:24:26 2.19 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: image.c,v 2.17 2003/02/25 02:47:21 greg Exp $"; +static const char RCSid[] = "$Id: image.c,v 2.19 2003/08/26 04:24:26 greg Exp $"; #endif /* * image.c - routines for image generation. @@ -271,7 +271,7 @@ FVECT p; void pix2loc(loc, rp, px, py) /* compute image location from pixel pos. */ -FLOAT loc[2]; +RREAL loc[2]; register RESOLU *rp; int px, py; { @@ -394,8 +394,8 @@ register char *s; int na; int nvopts = 0; - if (*s != '-') - s = sskip2(s,1); + while (*s && *s != ' ') + s++; while (*s) { ac = 0; do {