From c0cdb2ad99a1e2a6ade5ce76c91177a79258e669 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:10:11 +0200 Subject: 3.14 --- shared/recycler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shared/recycler.cpp') diff --git a/shared/recycler.cpp b/shared/recycler.cpp index 4a0d7290..4e9ce9a3 100644 --- a/shared/recycler.cpp +++ b/shared/recycler.cpp @@ -101,9 +101,9 @@ void moveToWindowsRecycler(const std::vector& filesToDelete) //throw ( wxString(_("Could not load a required DLL:")) + wxT(" \"") + getRecyclerDllName().c_str() + wxT("\"")); //#warning moving long file paths to recycler does not work! clarify! -// std::vector temp; -// std::transform(filesToDelete.begin(), filesToDelete.end(), -// std::back_inserter(temp), std::ptr_fun(ffs3::removeLongPathPrefix)); //::IFileOperation() can't handle \\?\-prefix! + // std::vector temp; + // std::transform(filesToDelete.begin(), filesToDelete.end(), + // std::back_inserter(temp), std::ptr_fun(ffs3::removeLongPathPrefix)); //::IFileOperation() can't handle \\?\-prefix! if (!moveToRecycler(&fileNames[0], //array must not be empty fileNames.size())) @@ -126,7 +126,7 @@ void moveToWindowsRecycler(const std::vector& filesToDelete) //throw ( filenameDoubleNull += Zchar(0); } - SHFILEOPSTRUCT fileOp; + SHFILEOPSTRUCT fileOp = {}; fileOp.hwnd = NULL; fileOp.wFunc = FO_DELETE; fileOp.pFrom = filenameDoubleNull.c_str(); -- cgit