mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Properly split the shield label
This commit is contained in:
parent
db0df92933
commit
ce5a3be7ca
@ -139,9 +139,12 @@ Label LBLFile::label8b(Handle &hdl, quint32 offset) const
|
|||||||
if (!c || c == 0x1d)
|
if (!c || c == 0x1d)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if ((c >= 0x1e && c <= 0x1f))
|
if ((c >= 0x1e && c <= 0x1f)) {
|
||||||
bap->append(' ');
|
if (bap == &shieldLabel)
|
||||||
else if (c <= 0x07) {
|
bap = &label;
|
||||||
|
else
|
||||||
|
bap->append(' ');
|
||||||
|
} else if (c <= 0x07) {
|
||||||
shieldType = (Label::Shield::Type)c;
|
shieldType = (Label::Shield::Type)c;
|
||||||
bap = &shieldLabel;
|
bap = &shieldLabel;
|
||||||
} else if (bap == &shieldLabel && QChar(c).isSpace()) {
|
} else if (bap == &shieldLabel && QChar(c).isSpace()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user