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)); }