mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed label text parsing
(use only space as whitespace separator)
This commit is contained in:
parent
8507fe3b52
commit
b5893cf506
@ -161,7 +161,7 @@ Label LBLFile::label8b(Handle &hdl, quint32 offset, bool capitalize) const
|
|||||||
} else if (c <= 0x07) {
|
} else if (c <= 0x07) {
|
||||||
shieldType = static_cast<Label::Shield::Type>(c);
|
shieldType = static_cast<Label::Shield::Type>(c);
|
||||||
bap = &shieldLabel;
|
bap = &shieldLabel;
|
||||||
} else if (bap == &shieldLabel && QChar(c).isSpace()) {
|
} else if (bap == &shieldLabel && c == 0x20) {
|
||||||
bap = &label;
|
bap = &label;
|
||||||
} else
|
} else
|
||||||
bap->append(c);
|
bap->append(c);
|
||||||
|
Loading…
Reference in New Issue
Block a user