--- ray/src/util/rfluxmtx.c 2015/02/02 16:04:11 2.20 +++ ray/src/util/rfluxmtx.c 2015/02/18 06:16:02 2.22 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: rfluxmtx.c,v 2.20 2015/02/02 16:04:11 greg Exp $"; +static const char RCSid[] = "$Id: rfluxmtx.c,v 2.22 2015/02/18 06:16:02 greg Exp $"; #endif /* * Calculate flux transfer matrix or matrices using rcontrib @@ -362,8 +362,8 @@ parse_params(PARAMS *p, char *pargs) case ' ': case '\t': case '\r': - continue; case '\n': + continue; case '\0': return(nparams); default: @@ -1350,7 +1350,7 @@ main(int argc, char *argv[]) #ifdef getc_unlocked flockfile(rcfp); #endif - if (verbose) { + if (verbose > 0) { fprintf(stderr, "%s: sampling %d directions", progname, nsbins); if (curparams.nsurfs > 1) fprintf(stderr, " (%d elements)\n", curparams.nsurfs);