mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +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);
|
||||
}
|
||||
|
||||
if (!seek(hdl, offset + _blockRecordSize * low))
|
||||
return false;
|
||||
if (!readUInt16(hdl, val))
|
||||
if (!(seek(hdl, offset + _blockRecordSize * low) && readUInt16(hdl, val)))
|
||||
return false;
|
||||
|
||||
type = val & 0x3f;
|
||||
|
Loading…
Reference in New Issue
Block a user