Skip to content

Commit

Permalink
[#40] Track Map: General improvements and bugfixes (Part 26.2: Fixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-nestorovic committed Feb 15, 2022
1 parent f46f93a commit 76e6877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Main/src/ViewTrackMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@
case TCursorPos::TRACK:
// clicked on a Track
mnu.EnableMenuItem( ID_TRACK, MF_BYCOMMAND|MF_ENABLED );
if (IMAGE->WriteTrack(0,0,CImage::CTrackReaderWriter::Invalid)!=ERROR_NOT_SUPPORTED) // determining existence of low-level information by an attempt of writing
if (IMAGE->ReadTrack( chs.cylinder, chs.head )) // CANNOT alternatively call WriteTrack with Invalid data for some containers (e.g. *.IPF) don't allow for writing!
mnu.EnableMenuItem( ID_HEAD, MF_BYCOMMAND|MF_ENABLED );
break;
default:
Expand Down

0 comments on commit 76e6877

Please sign in to comment.