1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02:00

Only use B records with a valid fix in IGC files

This commit is contained in:
Martin Tůma 2019-08-25 13:05:27 +02:00
parent 3d16cf2500
commit ae64ef9d83

View File

@ -130,6 +130,8 @@ bool IGCParser::readBRecord(SegmentData &segment, const char *line,
if (len < 35)
return false;
if (line[24] != 'A')
return true;
if (!readTimestamp(line + 1, time)) {
_errorString = "Invalid timestamp";