1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed label text parsing

(use only space as whitespace separator)
This commit is contained in:
Martin Tůma 2020-10-22 20:30:11 +02:00
parent 8507fe3b52
commit b5893cf506

View File

@ -161,7 +161,7 @@ Label LBLFile::label8b(Handle &hdl, quint32 offset, bool capitalize) const
} else if (c <= 0x07) {
shieldType = static_cast<Label::Shield::Type>(c);
bap = &shieldLabel;
} else if (bap == &shieldLabel && QChar(c).isSpace()) {
} else if (bap == &shieldLabel && c == 0x20) {
bap = &label;
} else
bap->append(c);