From 3af98b67858f2b749b18c8bddac81b8b71272e9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Mon, 16 Jan 2023 21:16:20 +0100 Subject: [PATCH] Fixed typo --- src/map/ENC/mapdata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/ENC/mapdata.cpp b/src/map/ENC/mapdata.cpp index f9c02583..3f1f2451 100644 --- a/src/map/ENC/mapdata.cpp +++ b/src/map/ENC/mapdata.cpp @@ -253,7 +253,7 @@ MapData::Point::Point(uint type, const Coordinates &c, const QString &label, _param = QVariant(params.at(0).toDouble()); } else if (type>>16 == I_SISTAT || type>>16 == SISTAT) { if (_label.isEmpty()) - _label = sistat(type && 0xFF); + _label = sistat(type & 0xFF); _type = TYPE(SISTAT); } }