Fix spelling and typos

This commit is contained in:
Urs Fleisch
2021-01-02 10:49:29 +01:00
parent f3bdd416da
commit 59a2994f4e
14 changed files with 20 additions and 20 deletions

View File

@@ -566,7 +566,7 @@ void XM::File::read(bool)
seek(patternHeaderLength - (4 + count) + dataSize, Current);
}
StringList intrumentNames;
StringList instrumentNames;
StringList sampleNames;
unsigned int sumSampleCount = 0;
@@ -630,12 +630,12 @@ void XM::File::read(bool)
else {
offset = instrumentHeaderSize - count;
}
intrumentNames.append(instrumentName);
instrumentNames.append(instrumentName);
seek(offset, Current);
}
d->properties.setSampleCount(sumSampleCount);
String comment(intrumentNames.toString("\n"));
String comment(instrumentNames.toString("\n"));
if(!sampleNames.isEmpty()) {
comment += "\n";
comment += sampleNames.toString("\n");