Reacted on changed media profile of stdio-drives

This commit is contained in:
Thomas Schmitt 2007-09-07 12:39:33 +00:00
parent 0b13c31b07
commit 5283401fb0

View File

@ -255,7 +255,7 @@ int telltoc_media(struct burn_drive *drive)
printf("Media current: "); printf("Media current: ");
ret = burn_disc_get_profile(drive, &profile_no, profile_name); ret = burn_disc_get_profile(drive, &profile_no, profile_name);
if (profile_no >= 0 && ret >0) { if (profile_no > 0 && ret > 0) {
if (profile_name[0]) if (profile_name[0])
printf("%s\n", profile_name); printf("%s\n", profile_name);
else else