From 29e29591f8707d493219d7566036d41eefa260ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 16 Feb 2020 13:59:19 +0100 Subject: [PATCH] Fixed typo --- src/map/IMG/lblfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/IMG/lblfile.cpp b/src/map/IMG/lblfile.cpp index 2e572fd0..5a7c12de 100644 --- a/src/map/IMG/lblfile.cpp +++ b/src/map/IMG/lblfile.cpp @@ -102,7 +102,7 @@ Label LBLFile::label6b(Handle &hdl, quint32 offset, bool capitalize) const for (int cpt = 0; cpt < 4; cpt++) { if (c[cpt] > 0x2f || (curCharSet == Normal && c[cpt] == 0x1d)) { QString text(QString::fromLatin1(label)); - return Label(capitalize & isAllUpperCase(text) + return Label(capitalize && isAllUpperCase(text) ? capitalized(text) : text, Label::Shield(shieldType, shieldLabel)); }