fix vermiparous variable names

This commit is contained in:
Theis Pieter Hollebeek 2025-10-11 20:05:53 +02:00
parent 5650e3ff4f
commit 9a2ad7f2c5

View File

@ -68,19 +68,19 @@ export class Vermiparous {
sizes.push(parseInt(String.fromCharCode(...buffer))); sizes.push(parseInt(String.fromCharCode(...buffer)));
buffer = []; buffer = [];
} }
const consoom = []; const components = [];
for (let consoomIdx = 0; consoomIdx < 3; ++consoomIdx) { for (let componentsIdx = 0; componentsIdx < 3; ++componentsIdx) {
let idekman = 0; let componentContentIdx = 0;
while (idekman < sizes[consoomIdx]) { while (componentContentIdx < sizes[componentsIdx]) {
const byte = bytes[idx]; const byte = bytes[idx];
buffer.push(byte); buffer.push(byte);
idx++; idx++;
idekman++; componentContentIdx++;
} }
consoom.push(buffer); components.push(buffer);
buffer = []; buffer = [];
} }
const [name, mime, content] = consoom; const [name, mime, content] = components;
ret.push({ ret.push({
tag: String.fromCharCode(...tag), tag: String.fromCharCode(...tag),
name: String.fromCharCode(...name), name: String.fromCharCode(...name),