changeset 790:436674261840

zero-lenght path must be allowed for now
author nadvornik
date Fri, 06 Jun 2008 20:59:03 +0000
parents c9f98c69a383
children 6d65167764ea
files src/filedata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/filedata.c	Fri Jun 06 08:01:19 2008 +0000
+++ b/src/filedata.c	Fri Jun 06 20:59:03 2008 +0000
@@ -169,7 +169,7 @@
 
 static void file_data_set_path(FileData *fd, const gchar *path)
 {
-	g_assert(path && *path);
+	g_assert(path /* && *path*/); /* view_dir_tree uses FileData with zero length path */
 	g_assert(file_data_pool);
 
 	g_free(fd->path);