Bug fix: The attempt to blank already blanked DVD-RW was not gracefully blocked

This commit is contained in:
Thomas Schmitt 2011-05-19 13:37:16 +00:00
parent c1503f6a53
commit c2513de0a2
2 changed files with 9 additions and 5 deletions

View File

@ -1304,10 +1304,14 @@ int Xorriso_blank_media(struct XorrisO *xorriso, int flag)
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "HINT", 0);
flag&= ~1;
}
} else if(disc_state == BURN_DISC_BLANK) {
sprintf(xorriso->info_text,"Blank media detected. Will leave it untouched");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
return 2;
}
if(disc_state == BURN_DISC_BLANK) {
if(!do_deformat) {
sprintf(xorriso->info_text,
"Blank media detected. Will leave it untouched");
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
return 2;
}
} else if(disc_state==BURN_DISC_FULL || disc_state==BURN_DISC_APPENDABLE) {
;
} else if(disc_state == BURN_DISC_EMPTY) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.19.111229"
#define Xorriso_timestamP "2011.05.19.133735"