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 b765efef60
commit f49d23a8c5

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;
}