brasero r708 - in trunk: . src



Author: philippr
Date: Sun Apr 13 15:20:48 2008
New Revision: 708
URL: http://svn.gnome.org/viewvc/brasero?rev=708&view=rev

Log:
	Fixed corrupted path on CD

	* src/brasero-data-project.c (brasero_data_project_node_to_path):

Modified:
   trunk/ChangeLog
   trunk/src/brasero-data-project.c

Modified: trunk/src/brasero-data-project.c
==============================================================================
--- trunk/src/brasero-data-project.c	(original)
+++ trunk/src/brasero-data-project.c	Sun Apr 13 15:20:48 2008
@@ -2081,8 +2081,8 @@
 		node = iter->data;
 
 		*(path + len) = G_DIR_SEPARATOR;
-
 		len ++;
+
 		if (len > MAXPATHLEN)
 			return NULL;
 
@@ -2104,9 +2104,9 @@
 			if (len + 64 > MAXPATHLEN)
 				return NULL;
 
-			len = brasero_data_project_set_joliet_compliant_name (self,
-									      node,
-									      path + len);
+			len += brasero_data_project_set_joliet_compliant_name (self,
+									       node,
+									       path + len);
 		}
 	}
 	g_slist_free (list);



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