# | Line 13 | Line 13 | static char SCCSid[] = "$SunId$ SGI"; | |
---|---|---|
13 | #include "rhdriver.h" | |
14 | ||
15 | #ifndef MAXDIST | |
16 | < | #define MAXDIST 13 /* maximum distance outside section */ |
16 | > | #define MAXDIST 42 /* maximum distance outside section */ |
17 | #endif | |
18 | ||
19 | extern GCOORD *getviewcells(); | |
# | Line 94 | Line 94 | register struct beamcomp *cb1, *cb2; | |
94 | ||
95 | if (!cb1->wants) /* put orphans at the end, unsorted */ | |
96 | return(cb2->wants); | |
97 | + | if (!cb2->wants) |
98 | + | return(-1); |
99 | if ((c = cb1->bi - cb2->bi)) /* sort on beam index first */ | |
100 | return(c); | |
101 | return(cb1->hd - cb2->hd); /* use hd to resolve matches */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |