[brasero/gnome-2-28] Revert and fix patch about cdrdao and missing cue file which was wrong



commit 97addb7e937a562c1eaa666fca189ddf11f14042
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 7acff07..c76d8aa 100644
--- a/plugins/cdrdao/burn-cdrdao.c
+++ b/plugins/cdrdao/burn-cdrdao.c
@@ -189,8 +189,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;
 		}
@@ -207,7 +206,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]