mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-03-01 21:40:48 +01:00
Some more code cleanup
This commit is contained in:
parent
7c90174751
commit
a09a58eece
@ -527,9 +527,7 @@ bool NODFile::linkType(Handle &hdl, const BlockInfo &blockInfo, quint8 linkId,
|
|||||||
} while (low + 1 < high);
|
} while (low + 1 < high);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!seek(hdl, offset + _blockRecordSize * low))
|
if (!(seek(hdl, offset + _blockRecordSize * low) && readUInt16(hdl, val)))
|
||||||
return false;
|
|
||||||
if (!readUInt16(hdl, val))
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
type = val & 0x3f;
|
type = val & 0x3f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user