mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Only use B records with a valid fix in IGC files
This commit is contained in:
parent
3d16cf2500
commit
ae64ef9d83
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user