Lei Zhang : shell32: Only notify immediate parent.

Alexandre Julliard julliard at winehq.org
Wed Nov 21 07:47:40 CST 2007


Module: wine
Branch: master
Commit: cb99cd331d34762dd093829e7d5e1b2be41a48af
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cb99cd331d34762dd093829e7d5e1b2be41a48af

Author: Lei Zhang <thestig at google.com>
Date:   Tue Nov 20 12:41:08 2007 -0800

shell32: Only notify immediate parent.

---

 dlls/shell32/changenotify.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/changenotify.c b/dlls/shell32/changenotify.c
index c88ca1f..4cd17e9 100644
--- a/dlls/shell32/changenotify.c
+++ b/dlls/shell32/changenotify.c
@@ -267,7 +267,7 @@ static BOOL should_notify( LPCITEMIDLIST changed, LPCITEMIDLIST watched, BOOL su
         return FALSE;
     if (ILIsEqual( watched, changed ) )
         return TRUE;
-    if( sub && ILIsParent( watched, changed, FALSE ) )
+    if( sub && ILIsParent( watched, changed, TRUE ) )
         return TRUE;
     return FALSE;
 }




More information about the wine-cvs mailing list