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 f20c691407
commit 5818ce44f5
1 changed files with 2 additions and 1 deletions

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;
}