Fixes ticket 30 and gives ref tags precedence over name tags
This commit is contained in:
parent
fadaf7ec5c
commit
8f637b95ef
@ -101,10 +101,10 @@ public:
|
||||
std::string access( w.keyVals.Find("access") );
|
||||
std::string motorcar( w.keyVals.Find("motorcar") );
|
||||
|
||||
if ( name != "" ) {
|
||||
w.name = name;
|
||||
} else if ( ref != "" ) {
|
||||
if ( ref != "" ) {
|
||||
w.name = ref;
|
||||
} else if ( name != "" ) {
|
||||
w.name = name;
|
||||
}
|
||||
|
||||
if ( oneway != "" ) {
|
||||
|
Loading…
Reference in New Issue
Block a user