mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 23:58:56 +00:00
shell32: PIDLs should be checked recursively in SHChangeNotify.
This commit is contained in:
parent
71fad7d18d
commit
b75b9fab2f
@ -243,7 +243,7 @@ static BOOL should_notify( LPCITEMIDLIST changed, LPCITEMIDLIST watched, BOOL su
|
||||
return FALSE;
|
||||
if (ILIsEqual( watched, changed ) )
|
||||
return TRUE;
|
||||
if( sub && ILIsParent( watched, changed, TRUE ) )
|
||||
if( sub && ILIsParent( watched, changed, FALSE ) )
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
|
@ -4218,6 +4218,7 @@ struct ChNotifyTest {
|
||||
const char path_2[256];
|
||||
} chnotify_tests[] = {
|
||||
{"MKDIR", 1, 0, SHCNE_MKDIR, "C:\\shell32_cn_test\\test", ""},
|
||||
{"CREATE", 1, 0, SHCNE_CREATE, "C:\\shell32_cn_test\\test\\file.txt", ""},
|
||||
{"RMDIR", 1, 0, SHCNE_RMDIR, "C:\\shell32_cn_test\\test", ""},
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user