From 33bbd6a592f7d5dec224b97be29d02ea91d0bf84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 18 Apr 2020 00:00:48 +0200 Subject: [PATCH] Yet another special case --- src/map/IMG/lblfile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/map/IMG/lblfile.cpp b/src/map/IMG/lblfile.cpp index 5a7c12de..c0efefd9 100644 --- a/src/map/IMG/lblfile.cpp +++ b/src/map/IMG/lblfile.cpp @@ -151,7 +151,9 @@ Label LBLFile::label8b(Handle &hdl, quint32 offset, bool capitalize) const if (!c || c == 0x1d) break; - if ((c >= 0x1e && c <= 0x1f)) { + if (c == 0x1c) + capitalize = false; + else if ((c >= 0x1e && c <= 0x1f)) { if (bap == &shieldLabel) bap = &label; else