From f66dccbc58158989b4b04d33db596996919c7ede Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 6 Nov 2019 15:40:46 -0500 Subject: [PATCH] Correct a couple of comment typos. --- dsk2woz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsk2woz.c b/dsk2woz.c index 66d9827..29fb700 100755 --- a/dsk2woz.c +++ b/dsk2woz.c @@ -372,7 +372,7 @@ static void serialise_track(uint8_t *dest, const uint8_t *src, uint8_t track_num track_position = write_sync(dest, track_position); } - // Step through the physical sector. + // Step through the sectors in physical order. for(size_t sector = 0; sector < 16; ++sector) { /* Write the sector header. @@ -412,7 +412,7 @@ static void serialise_track(uint8_t *dest, const uint8_t *src, uint8_t track_num // Map from this physical sector to a logical sector. const int logical_sector = (sector == 15) ? 15 : ((sector * (is_prodos ? 8 : 7)) % 15); - // Sector contents + // Sector contents. uint8_t contents[343]; encode_6_and_2(contents, &src[logical_sector * 256]); for(size_t c = 0; c < sizeof(contents); ++c) {