Showing a "Media summary:" with blank media
This commit is contained in:
parent
7041a551b1
commit
658e0203c9
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.10.21.112523"
|
||||
#define Xorriso_timestamP "2008.10.21.123226"
|
||||
|
@ -3783,6 +3783,13 @@ int Xorriso_toc(struct XorrisO *xorriso, int flag)
|
||||
sprintf(respt+strlen(respt), "is not recognizable\n");
|
||||
Xorriso_result(xorriso,0);
|
||||
|
||||
if(s == BURN_DISC_BLANK) {
|
||||
sprintf(respt, "Media summary: 0 sessions, 0 data blocks, 0 data");
|
||||
num_free= isoburn_disc_available_space(drive, NULL);
|
||||
Sfile_scale((double) num_free, mem_text,5,1e4,1);
|
||||
sprintf(respt+strlen(respt), ", %s free\n", mem_text);
|
||||
Xorriso_result(xorriso,0);
|
||||
}
|
||||
if(s != BURN_DISC_FULL && s != BURN_DISC_APPENDABLE)
|
||||
return(1);
|
||||
if(xorriso->request_to_abort)
|
||||
|
Loading…
Reference in New Issue
Block a user