Fixed bug, blank discs also need a volset in truct isbourn.

This commit is contained in:
Vreixo Formoso Lopes 2007-09-25 14:09:04 +00:00
parent 17f81ef2fd
commit 7e17d32233

View File

@ -86,7 +86,7 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt
return 0;
if (!o) {
return -1;
return -1;
}
status = isoburn_disc_get_status(d);
@ -109,6 +109,8 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt
*volset = iso_volset_new(volume, "NEW VOLSET");
if (!*volset)
return -1;
o->target_volset = *volset;
return 1;
}