Got rid of bad pacifier text at end of CD writing

This commit is contained in:
Thomas Schmitt 2007-11-01 11:14:42 +00:00
parent 0c484dfe53
commit d006ef3179
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2007.10.31.175916"
#define Xorriso_timestamP "2007.11.01.111351"

View File

@ -375,7 +375,7 @@ int Xorriso_pacifier_loop(struct XorrisO *xorriso, struct burn_drive *drive,
if(drive_status == BURN_DRIVE_IDLE)
break;
current_time= Sfile_microtime(0);
if(drive_status == BURN_DRIVE_WRITING) {
if(drive_status == BURN_DRIVE_WRITING && progress.sectors > 0) {
sprintf(xorriso->info_text, "Writing: sector %d of %d",
progress.sector, progress.sectors);
ret= isoburn_get_fifo_status(drive, &size, &free_bytes, &status_text);