Fix another exception while rendering labels

This commit is contained in:
Alexey Andreev 2017-03-21 21:48:03 +03:00
parent 299485eb96
commit d49354bdac

View File

@ -323,8 +323,7 @@ public class StatementRenderer implements ExprVisitor, StatementVisitor {
blockIndexMap.add(mappedIndex); blockIndexMap.add(mappedIndex);
blockIds.add(RenderingUtil.indexToId(mappedIndex)); blockIds.add(RenderingUtil.indexToId(mappedIndex));
} }
mappedIndex = blockIndexMap.get(index); return blockIds.get(index);
return blockIds.get(mappedIndex);
} }
@Override @Override