[brasero/gnome-2-30] Fix error introduced by patch b1b8ae5c0bf918503cd10380c9634d814f9f7a23



commit 4a34a5129d0d9d3a2d155b9f0c53cb01c68f87c0
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri Jul 23 10:14:36 2010 +0200

    Fix error introduced by patch b1b8ae5c0bf918503cd10380c9634d814f9f7a23

 libbrasero-media/brasero-medium.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-media/brasero-medium.c b/libbrasero-media/brasero-medium.c
index 34d38d3..94e53eb 100644
--- a/libbrasero-media/brasero-medium.c
+++ b/libbrasero-media/brasero-medium.c
@@ -2799,7 +2799,7 @@ brasero_medium_read_CD_TEXT (BraseroMedium *self,
 		return;
 	}
 
-	num = (num - sizeof (BraseroScsiTocPmaAtipHdr)) / sizeof (BraseroScsiCDTextPackData);
+	num = (size - sizeof (BraseroScsiTocPmaAtipHdr)) / sizeof (BraseroScsiCDTextPackData);
 	if (num <= 0) {
 		g_free (cd_text);
 		return;



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