1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Remove space, add brackets for clarity.

This commit is contained in:
Thomas Harte
2026-04-04 23:35:30 -04:00
parent 701af5758c
commit b7e10b3c3a
+1 -1
View File
@@ -45,5 +45,5 @@ int FD::head_count() const {
long FD::get_file_offset_for_position(const Track::Address address) const {
// Determined empirically: disk images are not interleaved.
return address.head * bytes_per_side + address.position.as_int() * bytes_per_track;
return (address.head * bytes_per_side) + (address.position.as_int() * bytes_per_track);
}