| 1 |
< |
/* Copyright (c) 1997 Silicon Graphics, Inc. */ |
| 1 |
> |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
| 2 |
|
|
| 3 |
|
#ifndef lint |
| 4 |
|
static char SCCSid[] = "$SunId$ SGI"; |
| 736 |
|
case 't': /* trace */ |
| 737 |
|
return(traceray(ekey->x, ekey->y)); |
| 738 |
|
case 'a': /* auto exposure */ |
| 739 |
+ |
if (fname == NULL) |
| 740 |
+ |
return(-1); |
| 741 |
|
tmflags = TM_F_CAMERA; |
| 742 |
|
strcpy(buf, "auto exposure..."); |
| 743 |
|
goto remap; |
| 744 |
|
case 'h': /* human response */ |
| 745 |
+ |
if (fname == NULL) |
| 746 |
+ |
return(-1); |
| 747 |
|
tmflags = TM_F_HUMAN; |
| 748 |
|
strcpy(buf, "human exposure..."); |
| 749 |
|
goto remap; |