From 1830c038f323ac7818669b41c9f041ff368b9bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 7 Feb 2021 09:08:28 +0100 Subject: [PATCH] Fixed assignment instead of compare --- src/map/IMG/style.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/IMG/style.h b/src/map/IMG/style.h index da7cc74d..a670b204 100644 --- a/src/map/IMG/style.h +++ b/src/map/IMG/style.h @@ -130,7 +130,7 @@ public: static bool isCountry(quint32 type) {return (type >= 0x1400 && type <= 0x153f);} static bool isState(quint32 type) - {return (type = TYPE(0x1e));} + {return (type == TYPE(0x1e));} static POIClass poiClass(quint32 type);