Fixed off by one in list method.

This commit is contained in:
Ryan Forbes 2009-02-03 15:28:39 -07:00
parent 54ad7c4e98
commit 277278b331

View File

@ -159,7 +159,7 @@ public class File {
}
String[] result = new String[count];
for (int i = count; i >= 0; --i) {
for (int i = count - 1; i >= 0; --i) {
result[i] = list.value;
list = list.next;
}