Bug fix: burn_drive->disc_id or burn_drive->disc_app_code altered by stray 0. Thanks to George Danchev.

This commit is contained in:
Thomas Schmitt 2009-10-27 10:06:43 +00:00
parent e646686145
commit cca24711b8
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2009.10.20.160131"
#define Cdrskin_timestamP "2009.10.27.100637"

View File

@ -1631,7 +1631,7 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len)
d->disc_info_valid |= (!!(data[7] & 128)) << 1;
if (len + 2 > 31 && (data[7] & 64)) {
memcpy(d->disc_bar_code, data + 24, 8);
d->disc_bar_code[9] = 0;
d->disc_bar_code[8] = 0;
d->disc_info_valid |= 4;
}
if (len + 2 > 32 && (data[7] & 16)) {