Fixed a bug with -grow_blindly to overwriteable media

This commit is contained in:
Thomas Schmitt 2008-07-05 18:02:03 +00:00
parent 0a8a066a96
commit 1aa0f3c568
2 changed files with 9 additions and 6 deletions

View File

@ -517,12 +517,15 @@ int isoburn_prepare_blind_grow(struct burn_drive *d, struct burn_disc **disc,
int ret;
struct isoburn *o= NULL;
if(nwa >= 0) {
ret= isoburn_find_emulator(&o, out_drive, 0);
if(ret<0 || o==NULL)
return(-1);
ret= isoburn_find_emulator(&o, out_drive, 0);
if(ret<0 || o==NULL)
return(-1);
if(nwa >= 0)
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);
if (ret<=0)
return ret;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.07.05.133721"
#define Xorriso_timestamP "2008.07.05.180241"