Skip to content

Commit 5f52a40

Browse files
committed
Update StringList.java
1 parent 646b8ca commit 5f52a40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/processing/data/StringList.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,7 @@ public Iterator<String> iterator() {
657657

658658
public void remove() {
659659
StringList.this.remove(index);
660+
index--;
660661
}
661662

662663
public String next() {
@@ -768,4 +769,4 @@ public String toString() {
768769
sb.append(" ]");
769770
return sb.toString();
770771
}
771-
}
772+
}

0 commit comments

Comments
 (0)