Fix satellite to fail on bad conditional

snxtsct() and snxtitem() fail when the condition argument is bad.
satmap() didn't check for failure.  Due to the way snxtsct() and
snxtitem() work, bad condition arguments were reported and otherwise
ignored.
This commit is contained in:
Markus Armbruster 2011-04-08 21:06:56 +02:00
parent d0a6dffa02
commit 74a69cf74c
3 changed files with 20 additions and 17 deletions

View file

@ -585,7 +585,7 @@ extern int sarg_list(char *, int *, int);
/* satmap.c */
extern void satdisp_sect(struct sctstr *, int);
extern void satdisp_units(coord, coord);
extern void satmap(int, int, int, int, int, int);
extern int satmap(int, int, int, int, int, int);
extern void sathead(void);
/* sect.c */
extern void sct_postread(int, void *);