Fixed a bug with -grow_blindly to overwriteable media
This commit is contained in:
parent
f96fdc339a
commit
362ecda0f3
@ -517,12 +517,15 @@ int isoburn_prepare_blind_grow(struct burn_drive *d, struct burn_disc **disc,
|
|||||||
int ret;
|
int ret;
|
||||||
struct isoburn *o= NULL;
|
struct isoburn *o= NULL;
|
||||||
|
|
||||||
if(nwa >= 0) {
|
ret= isoburn_find_emulator(&o, out_drive, 0);
|
||||||
ret= isoburn_find_emulator(&o, out_drive, 0);
|
if(ret<0 || o==NULL)
|
||||||
if(ret<0 || o==NULL)
|
return(-1);
|
||||||
return(-1);
|
if(nwa >= 0)
|
||||||
o->fabricated_msc2= nwa;
|
o->fabricated_msc2= nwa;
|
||||||
}
|
if(o->nwa == o->zero_nwa)
|
||||||
|
o->nwa= o->zero_nwa= 0;
|
||||||
|
else
|
||||||
|
o->zero_nwa= 0;
|
||||||
ret= isoburn_prepare_disc_aux(d, out_drive, disc, opts, 2);
|
ret= isoburn_prepare_disc_aux(d, out_drive, disc, opts, 2);
|
||||||
if (ret<=0)
|
if (ret<=0)
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.07.05.133721"
|
#define Xorriso_timestamP "2008.07.05.180241"
|
||||||
|
Loading…
Reference in New Issue
Block a user