1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

6 + the leading A of course...

This commit is contained in:
Martin Tůma 2018-01-04 17:36:22 +01:00
parent 51e0f9a9c6
commit 8deab1c9ca

View File

@ -87,7 +87,7 @@ static bool readTimestamp(const char *data, QTime &time)
static bool readARecord(const char *line, qint64 len) static bool readARecord(const char *line, qint64 len)
{ {
if (len < 6 || line[0] != 'A') if (len < 7 || line[0] != 'A')
return false; return false;
for (int i = 1; i < 7; i++) for (int i = 1; i < 7; i++)