From 0265cf43abef16a3458654409407a7f4ad16120b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 13 Oct 2026 00:43:19 +0000 Subject: [PATCH] fix(style): Restore comment text lost to control characters PowerShell backtick escapes in double-quoted strings had replaced comment text with control bytes in three files: - ArtifactWriter.cpp: 0x08 for "\b" in a path example - BlankDiskBuilder.cpp: 0x0C for the opening of `fluxTrackMask` - DiskImage.cpp: 0x07 for the opening of `auto` A tree scan of .cpp/.h/.hlsl files finds no other bytes in 0x00-0x08, 0x0B, 0x0C or 0x0E-0x1F. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013kb3KPUv9BPSS7bAi8emSx --- CassoEmuCore/Cli/ArtifactWriter.cpp | 2 +- CassoEmuCore/Devices/Disk/DiskImage.cpp | 2 +- CassoEmuCore/Machines/Apple2/Common/BlankDiskBuilder.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CassoEmuCore/Cli/ArtifactWriter.cpp b/CassoEmuCore/Cli/ArtifactWriter.cpp index def6de690..b72526383 100644 --- a/CassoEmuCore/Cli/ArtifactWriter.cpp +++ b/CassoEmuCore/Cli/ArtifactWriter.cpp @@ -232,7 +232,7 @@ const std::string & ArtifactSink::GetDiagnostics() const // file sit beside the object they describe. // // Only a trailing extension on the last path component is replaced. A name -// with a dot in a directory above it -- `..uild\prog` -- keeps the dot and +// with a dot in a directory above it -- `..\build\prog` -- keeps the dot and // gains the extension, which a search for the last dot alone would get wrong. // //////////////////////////////////////////////////////////////////////////////// diff --git a/CassoEmuCore/Devices/Disk/DiskImage.cpp b/CassoEmuCore/Devices/Disk/DiskImage.cpp index 801d8aeab..4da737f53 100644 --- a/CassoEmuCore/Devices/Disk/DiskImage.cpp +++ b/CassoEmuCore/Devices/Disk/DiskImage.cpp @@ -691,7 +691,7 @@ void DiskImage::ClearDirty() m_dirty = false; // vector hands out a proxy, so a range-for element would have to be - // auto&& to write through it -- and a plain uto would silently clear a + // auto&& to write through it -- and a plain `auto` would silently clear a // copy. assign says the whole thing in one line and dodges that entirely. m_trackDirty.assign (m_trackDirty.size(), false); m_trackChangedByWriter.assign (m_trackChangedByWriter.size(), false); diff --git a/CassoEmuCore/Machines/Apple2/Common/BlankDiskBuilder.cpp b/CassoEmuCore/Machines/Apple2/Common/BlankDiskBuilder.cpp index 8f509888e..a8f9b4976 100644 --- a/CassoEmuCore/Machines/Apple2/Common/BlankDiskBuilder.cpp +++ b/CassoEmuCore/Machines/Apple2/Common/BlankDiskBuilder.cpp @@ -419,7 +419,7 @@ HRESULT BlankDiskBuilder::Build ( // changes the WOZ arm: a disk with no structure gets full-capacity all-zero // bit tracks instead of a nibblized image of a buffer that holds nothing. // -// luxTrackMask stores the whole tracks it selects as flux, in WOZ only. +// `fluxTrackMask` stores the whole tracks it selects as flux, in WOZ only. // ////////////////////////////////////////////////////////////////////////////////