Bug fix: Media summary session count of blank and closed media was short by 1

This commit is contained in:
Thomas Schmitt 2015-10-19 17:43:07 +00:00
parent 9fc6ea9514
commit 7723b792a5
2 changed files with 4 additions and 2 deletions

View File

@ -5225,8 +5225,10 @@ summary:
if(ret <= 0) if(ret <= 0)
strcpy(profile_name, "media"); strcpy(profile_name, "media");
if(open_sessions > 0 && !have_real_open_session)
open_sessions--;
printf("Media summary: %d sessions, %d tracks, %s %s\n", printf("Media summary: %d sessions, %d tracks, %s %s\n",
num_sessions + open_sessions - 1 + have_real_open_session, track_count, num_sessions + open_sessions, track_count,
s==BURN_DISC_BLANK ? "blank" : s==BURN_DISC_BLANK ? "blank" :
s==BURN_DISC_APPENDABLE ? "appendable" : s==BURN_DISC_APPENDABLE ? "appendable" :
s==BURN_DISC_FULL ? "closed" : s==BURN_DISC_FULL ? "closed" :

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.18.133327" #define Cdrskin_timestamP "2015.10.19.174459"