From 3263d513ce4e0c0a278a2acd72522a9b9413aa42 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 25 Dec 2006 19:01:25 +0000 Subject: [PATCH] Adjusted to new (more mature) speed info semantics --- libburn/trunk/test/telltoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libburn/trunk/test/telltoc.c b/libburn/trunk/test/telltoc.c index 2737dc18..b927b2b4 100644 --- a/libburn/trunk/test/telltoc.c +++ b/libburn/trunk/test/telltoc.c @@ -277,7 +277,7 @@ int telltoc_media(struct burn_drive *drive) max_speed = ((double ) ret) / speed_conv; ret= burn_drive_get_min_write_speed(drive); min_speed = ((double ) ret) / speed_conv; - if (strstr(profile_name, "CD") != profile_name) + if (!media_found) printf("Drive speed : max=%.1f , min=%.1f\n", max_speed, min_speed); else