From 8371df8b1c12bdae574370d77819c46d8280f20f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 24 Aug 2021 12:49:00 +1000 Subject: Cleanup: spelling --- source/blender/blenlib/intern/filereader_zstd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib/intern/filereader_zstd.c') diff --git a/source/blender/blenlib/intern/filereader_zstd.c b/source/blender/blenlib/intern/filereader_zstd.c index 785a40cd1a1..55ce32713d9 100644 --- a/source/blender/blenlib/intern/filereader_zstd.c +++ b/source/blender/blenlib/intern/filereader_zstd.c @@ -79,7 +79,7 @@ static bool zstd_read_seek_table(ZstdReader *zstd) if (base->seek(base, -5, SEEK_END) < 0 || base->read(base, &flags, 1) != 1) { return false; } - /* Bit 7 indicates checksums. Bits 5 and 6 must be zero. */ + /* Bit 7 indicates check-sums. Bits 5 and 6 must be zero. */ bool has_checksums = (flags & 0x80); if (flags & 0x60) { return false; @@ -134,7 +134,7 @@ static bool zstd_read_seek_table(ZstdReader *zstd) zstd->seek.compressed_ofs[num_frames] = compressed_ofs; zstd->seek.uncompressed_ofs[num_frames] = uncompressed_ofs; - /* Seek to the end of the previous frame for the following BHead frame detection. */ + /* Seek to the end of the previous frame for the following #BHead frame detection. */ if (seek_frame_start != compressed_ofs || base->seek(base, seek_frame_start, SEEK_SET) < 0) { MEM_freeN(zstd->seek.compressed_ofs); MEM_freeN(zstd->seek.uncompressed_ofs); @@ -178,7 +178,7 @@ static const char *zstd_ensure_cache(ZstdReader *zstd, int frame) return zstd->seek.cached_content; } - /* Cached frame doesn't match, so discard it and cache the wanted one onstead. */ + /* Cached frame doesn't match, so discard it and cache the wanted one instead. */ MEM_SAFE_FREE(zstd->seek.cached_content); size_t compressed_size = zstd->seek.compressed_ofs[frame + 1] - zstd->seek.compressed_ofs[frame]; -- cgit v1.2.3