diff src/search.c @ 1432:cf4029d10d38

improved notification system
author nadvornik
date Sat, 14 Mar 2009 17:21:35 +0000
parents a0bd58a6535f
children a3d3208b0c50
line wrap: on
line diff
--- a/src/search.c	Sat Mar 14 11:26:43 2009 +0000
+++ b/src/search.c	Sat Mar 14 17:21:35 2009 +0000
@@ -2945,7 +2945,7 @@
 {
 	SearchData *sd = data;
 
-	if (type != NOTIFY_TYPE_CHANGE || !fd->change) return;
+	if (!(type & NOTIFY_CHANGE) || !fd->change) return;
 	
 	switch (fd->change->type)
 		{