# | Line 112 | Line 112 | getinterest( /* get area of interest */ | |
---|---|---|
112 | error(COMMAND, "not on image"); | |
113 | return(-1); | |
114 | } | |
115 | < | if (!direc || ourview.type == VT_PAR) { |
115 | > | if (!direc | (ourview.type == VT_PAR)) { |
116 | int weakhit = 0; | |
117 | FVECT weakpt; | |
118 | rayorigin(&thisray, PRIMARY, NULL, NULL); | |
# | Line 361 | Line 361 | paintrect( /* paint picture rectangle */ | |
361 | { | |
362 | int mx, my; | |
363 | ||
364 | < | if (p->xmax - p->xmin <= 0 || p->ymax - p->ymin <= 0) |
364 | > | if ((p->xmax <= p->xmin) | (p->ymax <= p->ymin)) |
365 | return; | |
366 | ||
367 | if (p->kid == NULL) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |