mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +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…
Reference in New Issue
Block a user