From 3d27b4ea0074229cb84e9ecc4b6f0eb0819b4d91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 21 Dec 2023 17:27:27 +0100 Subject: [PATCH] The codec is always set in load(), use the default constructor --- src/map/IMG/lblfile.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/map/IMG/lblfile.h b/src/map/IMG/lblfile.h index 3a361b97..e3a01201 100644 --- a/src/map/IMG/lblfile.h +++ b/src/map/IMG/lblfile.h @@ -16,14 +16,14 @@ class LBLFile : public SubFile { public: LBLFile(const IMGData *img) - : SubFile(img), _huffmanText(0), _table(0), _rasters(0), _codec(1252), - _imgIdSize(0), _poiShift(0), _shift(0), _encoding(0) {} + : SubFile(img), _huffmanText(0), _table(0), _rasters(0), _imgIdSize(0), + _poiShift(0), _shift(0), _encoding(0) {} LBLFile(const QString *path) - : SubFile(path), _huffmanText(0), _table(0), _rasters(0), _codec(1252), - _imgIdSize(0), _poiShift(0), _shift(0), _encoding(0) {} + : SubFile(path), _huffmanText(0), _table(0), _rasters(0), _imgIdSize(0), + _poiShift(0), _shift(0), _encoding(0) {} LBLFile(const SubFile *gmp, quint32 offset) : SubFile(gmp, offset), _huffmanText(0), _table(0), _rasters(0), - _codec(1252), _imgIdSize(0), _poiShift(0), _shift(0), _encoding(0) {} + _imgIdSize(0), _poiShift(0), _shift(0), _encoding(0) {} ~LBLFile(); bool load(Handle &hdl, const RGNFile *rgn, Handle &rgnHdl);