mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
Associations off by one
This commit is contained in:
parent
cf80b6a63b
commit
5c7bc65a47
1 changed files with 1 additions and 1 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue