Browse Source

Showing a "Media summary:" with blank media

tags/ZeroThreeZero
Thomas Schmitt 12 years ago
parent
commit
658e0203c9
2 changed files with 8 additions and 1 deletions
  1. +1
    -1
      xorriso/xorriso_timestamp.h
  2. +7
    -0
      xorriso/xorrisoburn.c

+ 1
- 1
xorriso/xorriso_timestamp.h View File

@@ -1 +1 @@
#define Xorriso_timestamP "2008.10.21.112523"
#define Xorriso_timestamP "2008.10.21.123226"

+ 7
- 0
xorriso/xorrisoburn.c View File

@@ -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…
Cancel
Save