[brasero] Remove unneeded line
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Remove unneeded line
- Date: Sat, 1 Aug 2009 08:25:46 +0000 (UTC)
commit 961d51e7ef580f12b4386df554b8ecd85bd44f0d
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Fri Jul 31 13:41:31 2009 +0200
Remove unneeded line
libbrasero-burn/brasero-caps-session.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libbrasero-burn/brasero-caps-session.c b/libbrasero-burn/brasero-caps-session.c
index 3896f6d..b111394 100644
--- a/libbrasero-burn/brasero-caps-session.c
+++ b/libbrasero-burn/brasero-caps-session.c
@@ -1318,7 +1318,7 @@ brasero_burn_caps_get_flags_for_medium (BraseroBurnCaps *self,
else if (session_flags & BRASERO_BURN_FLAG_BLANK_BEFORE_WRITE)
return BRASERO_BURN_NOT_SUPPORTED;
- if (((*supported_flags) & BRASERO_BURN_FLAG_BLANK_BEFORE_WRITE)) {
+ if (((*supported_flags) & BRASERO_BURN_FLAG_BLANK_BEFORE_WRITE) != 0) {
BraseroBurnFlag blank_compulsory = BRASERO_BURN_FLAG_NONE;
BraseroBurnFlag blank_supported = BRASERO_BURN_FLAG_NONE;
@@ -1342,8 +1342,6 @@ brasero_burn_caps_get_flags_for_medium (BraseroBurnCaps *self,
* Ex: a CDRW with data appendable can be either appended (then
* no DAO possible) or blanked and written (DAO possible). */
- (*supported_flags) |= BRASERO_BURN_FLAG_BLANK_BEFORE_WRITE;
-
/* result here is the result of the first operation, so if it
* failed, BLANK before becomes compulsory. */
if (result != BRASERO_BURN_OK)
@@ -1546,6 +1544,7 @@ brasero_burn_session_get_burn_flags (BraseroBurnSession *session,
/* special case */
if (brasero_burn_session_same_src_dest_drive (session)) {
+ BRASERO_BURN_LOG ("Same source and destination");
result = brasero_burn_caps_get_flags_same_src_dest (self,
session,
&supported_flags,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]