From 515f1aeb27fc946165883f38f7c3417ff182935c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Wed, 14 Oct 2020 22:04:32 +0200 Subject: [PATCH] Use propper structure names --- src/map/geotiff.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/map/geotiff.cpp b/src/map/geotiff.cpp index 8783a7ff..d4dacaaf 100644 --- a/src/map/geotiff.cpp +++ b/src/map/geotiff.cpp @@ -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 &kv) const { - TIFFHeader header; - KeyEntry entry; + GeoKeyHeader header; + GeoKeyEntry entry; Value value; if (!file.seek(ctx.keys))