Fixed bug where chdman -extract would not truncate to the logical size.

This commit is contained in:
Aaron Giles 2009-03-16 16:12:10 +00:00
parent 29a0fd90b4
commit 15ecfc3d29

View File

@ -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");