"" looks better than "?" (part of #722)
This commit is contained in:
parent
62e24f984f
commit
314ff9eeb0
|
@ -1855,7 +1855,7 @@ GLiveSupport :: substituteRdsItem(Ptr<Glib::ustring>::Ref rdsString,
|
||||||
value = playable->getMetadata(metadataKey);
|
value = playable->getMetadata(metadataKey);
|
||||||
}
|
}
|
||||||
if (!value) {
|
if (!value) {
|
||||||
value.reset(new Glib::ustring("?"));
|
value.reset(new Glib::ustring(""));
|
||||||
}
|
}
|
||||||
rdsString->replace(pos, placeholder.length(), *value);
|
rdsString->replace(pos, placeholder.length(), *value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -381,7 +381,7 @@ class GLiveSupport : public LocalizedConfigurable,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Replace a single placeholders in the RDS settings.
|
* Replace a single placeholders in the RDS settings.
|
||||||
* If the corresponding metadata is not found, a "?" character
|
* If the corresponding metadata is not found, an empty string
|
||||||
* is substituted instead.
|
* is substituted instead.
|
||||||
*
|
*
|
||||||
* @param rdsString the string with the placeholders;
|
* @param rdsString the string with the placeholders;
|
||||||
|
|
Loading…
Reference in New Issue