Bug fix: -format full did not re-format already formatted DVD+RW

This commit is contained in:
Thomas Schmitt 2008-09-08 12:16:42 +00:00
parent 0d19cd3150
commit 4b3144c1e2
2 changed files with 3 additions and 4 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.09.08.094748"
#define Xorriso_timestamP "2008.09.08.121548"

View File

@ -982,9 +982,6 @@ int Xorriso_write_session(struct XorrisO *xorriso, int flag)
{ret= 0; goto ex;}
}
Xorriso_set_abort_severity(xorriso, 1);
if (xorriso->grow_blindly_msc2 >= 0 &&
xorriso->out_drive_handle != xorriso->in_drive_handle) {
@ -4048,6 +4045,8 @@ int Xorriso_format_media(struct XorrisO *xorriso, int flag)
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "NOTE", 0);
return(0);
}
if(!(flag & 1))
mode_flag|= 16; /* enable re-formatting */
if(xorriso->do_dummy) {
sprintf(xorriso->info_text, "-dummy mode prevents formatting of media.");