diff src/filedata.c @ 790:436674261840

zero-lenght path must be allowed for now
author nadvornik
date Fri, 06 Jun 2008 20:59:03 +0000
parents 548b193c084c
children 6d65167764ea
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);