mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-06-02 00:41:35 +00:00
Fixed off-by-one error reading sectors
This commit is contained in:
parent
216f31b173
commit
12c01f3345
|
@ -420,7 +420,7 @@ class AtrDiskImage(object):
|
||||||
pos, size = self.header.get_pos(start)
|
pos, size = self.header.get_pos(start)
|
||||||
if end is None:
|
if end is None:
|
||||||
end = start
|
end = start
|
||||||
while start <= end:
|
while start < end:
|
||||||
start += 1
|
start += 1
|
||||||
_, more = self.header.get_pos(start)
|
_, more = self.header.get_pos(start)
|
||||||
size += more
|
size += more
|
||||||
|
|
Loading…
Reference in New Issue
Block a user