From f49d23a8c58aaa9d28b624bcc27c5e1e39e111be Mon Sep 17 00:00:00 2001 From: Vreixo Formoso Lopes Date: Tue, 25 Sep 2007 14:09:04 +0000 Subject: [PATCH] Fixed bug, blank discs also need a volset in truct isbourn. --- src/isofs_wrap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/isofs_wrap.c b/src/isofs_wrap.c index 7b670f93..54c0e746 100644 --- a/src/isofs_wrap.c +++ b/src/isofs_wrap.c @@ -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; }