mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-05-25 01:09:09 -04:00
Forgot to increment line number in TestElongFile.
This commit is contained in:
@@ -669,6 +669,8 @@ static int TestElongFile(const char *filename, double targetRelLon)
|
||||
lnum = 0;
|
||||
while (fgets(line, sizeof(line), infile))
|
||||
{
|
||||
++lnum;
|
||||
|
||||
/* 2018-05-09T00:28Z Jupiter */
|
||||
nscanned = sscanf(line, "%d-%d-%dT%d:%dZ %9[A-Za-z]", &year, &month, &day, &hour, &minute, name);
|
||||
if (nscanned != 6)
|
||||
|
||||
Reference in New Issue
Block a user