changeset 942:0f243d361ed2

fixed deleting of non-empty folder
author nadvornik
date Sun, 27 Jul 2008 08:40:47 +0000
parents 36906129bbec
children b483d8cdedb6
files src/filedata.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/filedata.c	Sat Jul 26 22:36:58 2008 +0000
+++ b/src/filedata.c	Sun Jul 27 08:40:47 2008 +0000
@@ -1575,7 +1575,11 @@
 	gchar *dir;
 	gchar *dest_dir = NULL;
 	
-	g_assert(fd->change);
+	if (!fd->change)
+		{
+		DEBUG_1("Change checked: no change info: %s", fd->path);
+		return ret; 
+		}
 
 	if (!isname(fd->path))
 		{