[brasero] Fix an infinite loop added by previous patch



commit 505b1fc22d830a88bd9834bab35f499c9f84a467
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri Aug 14 15:34:41 2009 +0200

    Fix an infinite loop added by previous patch

 libbrasero-burn/brasero-data-project.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libbrasero-burn/brasero-data-project.c b/libbrasero-burn/brasero-data-project.c
index af55798..3b4429b 100644
--- a/libbrasero-burn/brasero-data-project.c
+++ b/libbrasero-burn/brasero-data-project.c
@@ -2877,6 +2877,8 @@ brasero_data_project_get_max_space (BraseroDataProject *self)
 			child_sectors = brasero_data_project_get_folder_sectors (self, children);
 
 		max_sectors = MAX (max_sectors, BRASERO_FILE_NODE_SECTORS (children));
+
+		children = children->next;
 	}
 
 	return max_sectors;



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