77 |
|
} |
78 |
|
|
79 |
|
|
80 |
< |
int |
80 |
> |
void |
81 |
|
dispbeam(b, hb) /* display a holodeck beam */ |
82 |
|
register BEAM *b; |
83 |
|
register HDBEAMI *hb; |
310 |
|
char *err; |
311 |
|
BEAMLIST blist; |
312 |
|
|
313 |
< |
copystruct(&curview, &stdview); |
313 |
> |
curview = stdview; |
314 |
|
while (nextview(&curview, fp) != EOF) { |
315 |
|
if ((err = setview(&curview)) != NULL) { |
316 |
|
error(WARNING, err); |
357 |
|
else if (!n2) cmp = -1; |
358 |
|
else cmp = beamcmp(cl1, cl2); |
359 |
|
if (cmp > 0) { |
360 |
< |
copystruct(cdest, cl2); |
360 |
> |
*cdest = *cl2; |
361 |
|
cl2++; n2--; |
362 |
|
} else { |
363 |
< |
copystruct(cdest, cl1); |
363 |
> |
*cdest = *cl1; |
364 |
|
cl1++; n1--; |
365 |
|
} |
366 |
|
cdest++; |