Skip to content

Commit

Permalink
Fix DeletePathFile_() by honker.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhcad committed May 22, 2012
1 parent 17bd0a0 commit bcc2f31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/pkg_Core/Modules/FileUtility/Cx_FileUtility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ bool DeletePathFile_(const wchar_t* filename, bool bRecycle, HWND hwnd)
wcscpy_s(szFile, MAX_PATH, filename);
ReplaceSlash(szFile);
PathRemoveBackslashW(szFile);
szFile[wcslen(szFile) + 1] = 0; // end with two zero chars for SHFileOperationW

#ifdef _WIN32
SHFILEOPSTRUCTW op;
Expand Down

0 comments on commit bcc2f31

Please sign in to comment.