Module: wine Branch: refs/heads/master Commit: 718a9d6df50aafca22418bd36d39c45370483820 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=718a9d6df50aafca22418bd3...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Tue Aug 1 17:20:03 2006 +0200
shell32: Send directories and non-regular files to the trash.
---
dlls/shell32/trash.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/trash.c b/dlls/shell32/trash.c index 595ab08..2e96bfb 100644 --- a/dlls/shell32/trash.c +++ b/dlls/shell32/trash.c @@ -132,7 +132,7 @@ static BOOL file_good_for_bucket(TRASH_B { if (pBucket->device != file_stat->st_dev) return FALSE; - return S_ISREG(file_stat->st_mode); + return TRUE; }
BOOL TRASH_CanTrashFile(LPCWSTR wszPath)