Commit 718a9d6d authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

shell32: Send directories and non-regular files to the trash.

parent 0049e563
......@@ -132,7 +132,7 @@ static BOOL file_good_for_bucket(TRASH_BUCKET *pBucket, struct stat *file_stat)
{
if (pBucket->device != file_stat->st_dev)
return FALSE;
return S_ISREG(file_stat->st_mode);
return TRUE;
}
BOOL TRASH_CanTrashFile(LPCWSTR wszPath)
......
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