From 7e17d3223383f90da115efc5f58b144be318f0a0 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. --- libisoburn/trunk/src/isofs_wrap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libisoburn/trunk/src/isofs_wrap.c b/libisoburn/trunk/src/isofs_wrap.c index 7b670f93..54c0e746 100644 --- a/libisoburn/trunk/src/isofs_wrap.c +++ b/libisoburn/trunk/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; }