64 |
|
VIEW avgview; /* average view for -B option */ |
65 |
|
int nvavg; /* number of views averaged */ |
66 |
|
|
67 |
– |
char *progname; |
68 |
– |
|
67 |
|
int fillo = F_FORE|F_BACK; /* selected fill options */ |
68 |
|
int fillsamp = 0; /* sample separation (0 == inf) */ |
69 |
|
COLR backcolr = BLKCOLR; /* background color */ |
135 |
|
SET_DEFAULT_BINARY(); |
136 |
|
SET_FILE_BINARY(stdout); |
137 |
|
|
138 |
< |
progname = argv[0]; |
138 |
> |
fixargv0(argv[0]); /* sets global progname */ |
139 |
|
|
140 |
|
for (an = 1; an < argc && argv[an][0] == '-'; an++) { |
141 |
|
rval = getviewopt(&ourview, argc-an, argv+an); |
1244 |
|
} |
1245 |
|
/* mark end and get results */ |
1246 |
|
memset((char *)fbp, '\0', 6*sizeof(float)); |
1247 |
< |
if (process(&PDesc, (char *)fbuf, (char *)fbuf, |
1247 |
> |
if (process(&PDesc, fbuf, fbuf, |
1248 |
|
4*sizeof(float)*(queuesiz+1), |
1249 |
|
6*sizeof(float)*(queuesiz+1)) != |
1250 |
|
4*sizeof(float)*(queuesiz+1)) { |