mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Also accept broken ITN files generated by GPSBabel
This commit is contained in:
parent
f3c0ed3f7f
commit
0f48e7c137
@ -21,7 +21,7 @@ bool ITNParser::parse(QFile *file, QList<TrackData> &tracks,
|
||||
ba = file->readLine();
|
||||
|
||||
QList<QByteArray> fields(ba.split('|'));
|
||||
if (fields.size() != 5) {
|
||||
if (fields.size() < 4) {
|
||||
_errorString = "File format error";
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user