1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-02-17 16:20:48 +01:00

Use propper structure names

This commit is contained in:
Martin Tůma 2020-10-14 22:04:32 +02:00
parent 2d1e0934ce
commit 515f1aeb27

View File

@ -61,14 +61,14 @@
((map).contains(key) && (map).value(key).SHORT != 32767)
struct TIFFHeader {
struct GeoKeyHeader {
quint16 KeyDirectoryVersion;
quint16 KeyRevision;
quint16 MinorRevision;
quint16 NumberOfKeys;
};
struct KeyEntry {
struct GeoKeyEntry {
quint16 KeyID;
quint16 TIFFTagLocation;
quint16 Count;
@ -196,8 +196,8 @@ bool GeoTIFF::readMatrix(TIFFFile &file, quint32 offset, double matrix[16]) cons
bool GeoTIFF::readKeys(TIFFFile &file, Ctx &ctx, QMap<quint16, Value> &kv) const
{
TIFFHeader header;
KeyEntry entry;
GeoKeyHeader header;
GeoKeyEntry entry;
Value value;
if (!file.seek(ctx.keys))