Corrected write counter in burn_stdio_write_track()

This commit is contained in:
Thomas Schmitt 2007-09-07 10:27:38 +00:00
parent edc50c89ee
commit e72b2fd732
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.09.06.120844"
#define Cdrskin_timestamP "2007.09.07.102728"

View File

@ -1875,8 +1875,8 @@ int burn_stdio_write_track(struct burn_write_opts *o, struct burn_session *s,
d->progress.sector = (w_count + (off_t) ret) / (off_t) 2048;
if (open_ended)
d->progress.sectors = d->progress.sector;
t->writecount = w_count;
t->written_sectors = w_count / 2048;
t->writecount += ret;
t->written_sectors = t->writecount / 2048;
}
/* >>> write t->tail zeros */;