Associations off by one

This commit is contained in:
byte[] 2021-12-29 22:15:14 -05:00
parent cf80b6a63b
commit 5c7bc65a47

View file

@ -82,7 +82,7 @@ export class LocalAutocompleter {
const name = this.decoder.decode(this.data.slice(location + 1, location + nameLength + 1));
for (let i = 0; i < assnLength; i++) {
associations.push(this.view.getUint32(location + 1 + nameLength + i * 4, true));
associations.push(this.view.getUint32(location + 1 + nameLength + 1 + i * 4, true));
}
return [ name, associations ];