mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
shell32: Send directories and non-regular files to the trash.
This commit is contained in:
parent
0049e563cc
commit
718a9d6df5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user