Makes bicycle and foot profile's name and ref tag handling consistent with car profile

This commit is contained in:
Daniel J. Hofmann
2016-04-29 13:27:12 +02:00
committed by Patrick Niklaus
parent 206bdff9e7
commit f0069d3dcc
6 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ function way_function (way, result)
-- name
if ref and "" ~= ref and name and "" ~= name then
result.name = name .. ' / ' .. ref
result.name = name .. " (" .. ref .. ")"
elseif ref and "" ~= ref then
result.name = ref
elseif name and "" ~= name then
+1 -1
View File
@@ -151,7 +151,7 @@ function way_function (way, result)
-- name
if ref and "" ~= ref and name and "" ~= name then
result.name = name .. ' / ' .. ref
result.name = name .. " (" .. ref .. ")"
elseif ref and "" ~= ref then
result.name = ref
elseif name and "" ~= name then