diff src/img-view.c @ 803:764fd82dd099

better check for notify type
author nadvornik
date Sun, 08 Jun 2008 19:09:44 +0000
parents 799d035b9994
children db6977f8b0f1
line wrap: on
line diff
--- a/src/img-view.c	Sun Jun 08 09:25:39 2008 +0000
+++ b/src/img-view.c	Sun Jun 08 19:09:44 2008 +0000
@@ -1693,7 +1693,7 @@
 {
 	ViewWindow *vw = data;
 
-	if (!fd->change) return;
+	if (type != NOTIFY_TYPE_CHANGE || !fd->change) return;
 	
 	switch(fd->change->type)
 		{