| 125 |
|
if (!fmt[2]) |
| 126 |
|
return; |
| 127 |
|
fmterr: |
| 128 |
< |
sprintf(errmsg, "Unsupported i/o format: -f%s", fmt); |
| 128 |
> |
sprintf(errmsg, "unsupported i/o format: -f%s", fmt); |
| 129 |
|
error(USER, errmsg); |
| 130 |
|
} |
| 131 |
|
|
| 467 |
|
error(INTERNAL, "unsupported format in getRayBundle()"); |
| 468 |
|
return false; |
| 469 |
|
} |
| 470 |
– |
n2go = myRCmanager.accum; // normalize directions |
| 471 |
– |
while (n2go-- > 0) { |
| 472 |
– |
orig_dir -= 2; |
| 473 |
– |
normalize(orig_dir[1]); |
| 474 |
– |
} |
| 470 |
|
return true; |
| 471 |
|
} |
| 472 |
|
|
| 564 |
|
int code |
| 565 |
|
) |
| 566 |
|
{ |
| 567 |
< |
myRCmanager.FlushQueue(); // leave nothing in queue |
| 567 |
> |
if (!code) |
| 568 |
> |
myRCmanager.ClearModifiers(); |
| 569 |
|
|
| 570 |
|
exit(code); |
| 571 |
|
} |