| 1576 | // Print error messages dealing with ephemeris file access. |
| 1577 | |
| 1578 | void ErrorEphem(CONST char *sz, long l) |
| 1579 | { |
| 1580 | char szT[cchSzDef]; |
| 1581 | |
| 1582 | if (is.fNoEphFile) |
| 1583 | return; |
| 1584 | if (l < 0) |
| 1585 | sprintf(szT, "Ephemeris file %s not found.\n", sz); |
| 1586 | else |
| 1587 | sprintf(szT, "Seek error in file %s at position %ld.\n", sz, l); |
| 1588 | is.fNoEphFile = fTrue; |
| 1589 | PrintWarning(szT); |
| 1590 | } |
| 1591 | #endif |
| 1592 | |
| 1593 |
no test coverage detected