[brasero] Revert and fix patch about cdrdao and missing cue file which was wrong



commit 5fa503fc48648befde6e9749f76a7884c6dae4c7
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Nov 25 14:38:54 2009 +0100

    Revert and fix patch about cdrdao and missing cue file which was wrong
    Make sure that we check for some errors

 plugins/cdrdao/burn-cdrdao.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/plugins/cdrdao/burn-cdrdao.c b/plugins/cdrdao/burn-cdrdao.c
index 72c5267..fb642cc 100644
--- a/plugins/cdrdao/burn-cdrdao.c
+++ b/plugins/cdrdao/burn-cdrdao.c
@@ -197,8 +197,7 @@ brasero_cdrdao_read_stderr_record (BraseroCdrdao *cdrdao, const gchar *line)
 		if (!cuepath)
 			return FALSE;
 
-		if (strstr (line, cuepath)
-		&&  strstr (line, "ERROR: Could not find input file")) {
+		if (!strstr (line, "ERROR: Could not find input file")) {
 			g_free (cuepath);
 			return FALSE;
 		}
@@ -215,7 +214,7 @@ brasero_cdrdao_read_stderr_record (BraseroCdrdao *cdrdao, const gchar *line)
 		g_free (name);
 	}
 
-	return TRUE;
+	return FALSE;
 }
 
 static BraseroBurnResult



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]