Merge pull request #11251 from osmandapp/fix_conditional_tags
fix replace getNonConditionalTag
This commit is contained in:
commit
32718977c7
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ public class RouteDataObject {
|
||||||
String nonCondTag = rtr.getTag();
|
String nonCondTag = rtr.getTag();
|
||||||
int ks;
|
int ks;
|
||||||
for (ks = 0; ks < pointTypes[i].length; ks++) {
|
for (ks = 0; ks < pointTypes[i].length; ks++) {
|
||||||
RouteTypeRule toReplace = region.quickGetEncodingRule(pointTypes[i][j]);
|
RouteTypeRule toReplace = region.quickGetEncodingRule(pointTypes[i][ks]);
|
||||||
if (toReplace != null && toReplace.getTag().contentEquals(nonCondTag)) {
|
if (toReplace != null && toReplace.getTag().contentEquals(nonCondTag)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue