brasero r1511 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1511 - in trunk: . src
- Date: Mon, 10 Nov 2008 20:11:05 +0000 (UTC)
Author: philippr
Date: Mon Nov 10 20:11:04 2008
New Revision: 1511
URL: http://svn.gnome.org/viewvc/brasero?rev=1511&view=rev
Log:
	Fix a bug with URI where it couldn\'t sometimes determine if the local
	path for a URI
	* src/burn-mkisofs-base.c (brasero_mkisofs_base_write_excluded):
Modified:
   trunk/ChangeLog
   trunk/src/burn-mkisofs-base.c
Modified: trunk/src/burn-mkisofs-base.c
==============================================================================
--- trunk/src/burn-mkisofs-base.c	(original)
+++ trunk/src/burn-mkisofs-base.c	Mon Nov 10 20:11:04 2008
@@ -136,7 +136,10 @@
 
 		unescaped_uri = g_uri_unescape_string (uri, NULL);
 		localpath = g_filename_from_uri (unescaped_uri, NULL, NULL);
-		g_free (unescaped_uri);	      
+		g_free (unescaped_uri);
+
+		if (!localpath)
+			localpath = g_filename_from_uri (uri, NULL, NULL);					  
 	}
 	else {
 		BRASERO_BURN_LOG ("File not stored locally %s", uri);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]