diff options
Diffstat (limited to 'sysutils/nautilus-cd-burner/files')
-rw-r--r-- | sysutils/nautilus-cd-burner/files/patch-cd-drive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c index 0612f018b..220d41b14 100644 --- a/sysutils/nautilus-cd-burner/files/patch-cd-drive.c +++ b/sysutils/nautilus-cd-burner/files/patch-cd-drive.c @@ -59,7 +59,7 @@ + if (wr_speed != NULL) { + char *tok; + wr_speed += strlen ("Maximum write speed:"); -+ for (tok = strtok (rd_speed, " (),\t\n"); ++ for (tok = strtok (wr_speed, " (),\t\n"); + tok && strcmp (tok, "CD"); + tok = strtok (NULL, " (),\t\n")) {} + tok = strtok (NULL, " (),\t\n"); /* Get the CD speed. */ @@ -70,7 +70,7 @@ + if (wr_speed != NULL) { + char *tok; + wr_speed += strlen ("Maximum write speed in kB/s:"); -+ for (tok = strtok (rd_speed, " (),\t\n"); ++ for (tok = strtok (wr_speed, " (),\t\n"); + tok && strcmp (tok, "CD"); + tok = strtok (NULL, " (),\t\n")) {} + tok = strtok (NULL, " (),\t\n"); /* Get the CD speed. */ |