fix for indices with alternate constructor

This commit is contained in:
Ben Fry
2013-09-05 00:02:09 -04:00
parent cae8269fbd
commit c90d7ce0f3

View File

@@ -88,6 +88,7 @@ public class IntDict {
if (pieces.length == 2) {
keys[count] = pieces[0];
values[count] = PApplet.parseInt(pieces[1]);
indices.put(pieces[0], count);
count++;
}
}