Corrected two minor bugs

This commit is contained in:
Thomas Schmitt 2006-11-25 16:05:23 +00:00
parent 11f16316b1
commit 15df1d819c

View File

@ -363,7 +363,7 @@ int libburner_payload(struct burn_drive *drive,
} }
burn_session_add_track(session, track, BURN_POS_END); burn_session_add_track(session, track, BURN_POS_END);
printf("Track %d : source is '%s'\n", trackno, adr); printf("Track %d : source is '%s'\n", trackno+1, adr);
burn_source_free(data_src); burn_source_free(data_src);
} /* trackno loop end */ } /* trackno loop end */
@ -435,7 +435,7 @@ int libburner_payload(struct burn_drive *drive,
printf("NOTE: Media left appendable.\n"); printf("NOTE: Media left appendable.\n");
if (simulate_burn) if (simulate_burn)
printf("\n*** Did TRY to SIMULATE burning ***\n\n"); printf("\n*** Did TRY to SIMULATE burning ***\n\n");
return 0; return 1;
} }