Browse Source

Accept prefix + in declination

jeroen
Tammo Jan Dijkema 4 years ago
parent
commit
c57dc2d4b3
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      console/console/console_j2000tracker.c

+ 5
- 1
console/console/console_j2000tracker.c View File

@ -136,7 +136,11 @@ void a2coord(char *ara, char *adec, struct ln_hms *ra, struct ln_dms *dec)
i = 1;
} else {
dec->neg = 0;
i = 0;
if (strlen(adec) && adec[0] =='+') {
i = 1;
} else {
i = 0;
}
}
dec->degrees = 0;
dec->minutes = 0;


Loading…
Cancel
Save