1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-04-14 17:39:10 +02: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) ((map).contains(key) && (map).value(key).SHORT != 32767)
struct TIFFHeader { struct GeoKeyHeader {
quint16 KeyDirectoryVersion; quint16 KeyDirectoryVersion;
quint16 KeyRevision; quint16 KeyRevision;
quint16 MinorRevision; quint16 MinorRevision;
quint16 NumberOfKeys; quint16 NumberOfKeys;
}; };
struct KeyEntry { struct GeoKeyEntry {
quint16 KeyID; quint16 KeyID;
quint16 TIFFTagLocation; quint16 TIFFTagLocation;
quint16 Count; 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 bool GeoTIFF::readKeys(TIFFFile &file, Ctx &ctx, QMap<quint16, Value> &kv) const
{ {
TIFFHeader header; GeoKeyHeader header;
KeyEntry entry; GeoKeyEntry entry;
Value value; Value value;
if (!file.seek(ctx.keys)) if (!file.seek(ctx.keys))