Bug fix: we want to modify full images!

This commit is contained in:
Vreixo Formoso Lopes 2007-10-02 07:54:37 +00:00
parent 04eb760556
commit 72280e9ad3

View File

@ -241,7 +241,8 @@ int isoburn_prepare_disc_aux(struct burn_drive *d, struct burn_disc **disc,
return -1;
state = isoburn_disc_get_status(d);
if (state != BURN_DISC_BLANK && state != BURN_DISC_APPENDABLE) {
if (state != BURN_DISC_BLANK && state != BURN_DISC_APPENDABLE
&& (state != BURN_DISC_FULL || ! new_img)) {
/* unsuitable status */
return -2;
}