changeset 773:4acde7a0bb01

do not change original FileData on copy
author nadvornik
date Sat, 31 May 2008 19:46:26 +0000
parents f53c2bb5b1b1
children e095a66b428f
files src/filedata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/filedata.c	Sat May 31 19:44:41 2008 +0000
+++ b/src/filedata.c	Sat May 31 19:46:26 2008 +0000
@@ -1346,7 +1346,7 @@
 {
 	FileDataChangeType type = fd->change->type;
 	/* FIXME delete ?*/
-	if (type == FILEDATA_CHANGE_MOVE || type == FILEDATA_CHANGE_COPY || type == FILEDATA_CHANGE_RENAME)
+	if (type == FILEDATA_CHANGE_MOVE || type == FILEDATA_CHANGE_RENAME)
 		{
 		g_free(fd->path);
 		g_hash_table_remove(file_data_pool, fd->original_path);