From 194d7bde1b04f04d51175c909b73f62805522edc Mon Sep 17 00:00:00 2001 From: tomascz Date: Wed, 4 Sep 2024 09:54:18 +0200 Subject: [PATCH] [#13] Minor source code improvements (Part 246: Fixed Part 239) --- Main/src/editor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Main/src/editor.cpp b/Main/src/editor.cpp index 34125249..de63fb73 100644 --- a/Main/src/editor.cpp +++ b/Main/src/editor.cpp @@ -445,6 +445,9 @@ openImage: if (image->OnOpenDocument(lpszFileName)){ // if opened successfully . CDos::CRecognition::EditSequence(); //fallthrough case IDRETRY: + for( TCylinder cyl=image->GetCylinderCount(); cyl-->0; ) + for( THead head=image->GetHeadCount(); head-->0; ) + image->UnscanTrack( cyl, head ); continue; } }