Signed-off-by: map-per <map-per@gmx.de>
This commit is contained in:
map-per
2025-11-13 10:25:35 +01:00
parent 4ae64791ff
commit be15215b83
2 changed files with 6 additions and 2 deletions

View File

@@ -740,7 +740,8 @@ void XMLFeature::OSMBusinessReplacement(uint32_t old_type, uint32_t new_type)
else
SetTagValue("disused:" + std::string(key), "yes");
SetTagValue("old_name", name);
if (!name.empty())
SetTagValue("old_name", name);
}
else
{