fix replace getNonConditionalTag

This commit is contained in:
Dima-1 2021-03-25 09:52:18 +02:00
parent 513cce6304
commit 4d78fc77de

View file

@ -583,8 +583,8 @@ 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.getNonConditionalTag().contentEquals(nonCondTag)) {
break; break;
} }
} }