diff options
author | Aaron Giles <aaron@aarongiles.com> | 2009-03-16 16:12:10 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2009-03-16 16:12:10 +0000 |
commit | 15ecfc3d29d877cccd6beb6265b09d1b72e34781 (patch) | |
tree | 5c6507f357a3ceccef7ebee6df58dca4d143fdd7 | |
parent | 29a0fd90b4aa8abd1a8ac756c4ebf395bf8747d9 (diff) |
Fixed bug where chdman -extract would not truncate to the logical size.
-rw-r--r-- | src/tools/chdman.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/chdman.c b/src/tools/chdman.c index b3a172af9dd..f7bfe1b59d6 100644 --- a/src/tools/chdman.c +++ b/src/tools/chdman.c @@ -1323,6 +1323,7 @@ static int do_extract(int argc, char *argv[], int param) err = CHDERR_WRITE_ERROR; goto cleanup; } + bytesremaining -= byteswritten; } progress(TRUE, "Extraction complete! \n"); |