Skip to content

Commit a2ff129

Browse files
committed
1 parent 74e0457 commit a2ff129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/processing/data/StringList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public void insert(int index, String[] values) {
309309
if (index < 0) {
310310
throw new IllegalArgumentException("insert() index cannot be negative: it was " + index);
311311
}
312-
if (index >= values.length) {
312+
if (index >= data.length) {
313313
throw new IllegalArgumentException("insert() index " + index + " is past the end of this list");
314314
}
315315

0 commit comments

Comments
 (0)