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

This commit is contained in:
Mikołaj Zalewski 2006-08-01 17:20:03 +02:00 committed by Alexandre Julliard
parent 0049e563cc
commit 718a9d6df5
1 changed files with 1 additions and 1 deletions

View File

@ -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)