Commit b75b9fab authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

shell32: PIDLs should be checked recursively in SHChangeNotify.

parent 71fad7d1
......@@ -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", ""},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment