diff src/view_file_icon.c @ 803:764fd82dd099

better check for notify type
author nadvornik
date Sun, 08 Jun 2008 19:09:44 +0000
parents a25b228978a0
children e702eaa6d1df
line wrap: on
line diff
--- a/src/view_file_icon.c	Sun Jun 08 09:25:39 2008 +0000
+++ b/src/view_file_icon.c	Sun Jun 08 19:09:44 2008 +0000
@@ -2559,7 +2559,7 @@
 {
 	ViewFile *vf = data;
 
-	if (!fd->change) return;
+	if (type != NOTIFY_TYPE_CHANGE || !fd->change) return;
 	
 	switch(fd->change->type)
 		{