Tidied up ICO extractor

This commit is contained in:
n1474335 2019-12-20 15:04:27 +00:00 committed by d98762625
parent fe57592aa3
commit 6a3500b844

View file

@ -2941,7 +2941,7 @@ export function extractBMP(bytes, offset) {
export function extractICO(bytes, offset) { export function extractICO(bytes, offset) {
const stream = new Stream(bytes.slice(offset)); const stream = new Stream(bytes.slice(offset));
// Move to number of file there are. // Move to number of files there are.
stream.moveTo(4); stream.moveTo(4);
// Read the number of files stored in the ICO // Read the number of files stored in the ICO