[SHELL32] fix some typos

svn path=/trunk/; revision=72582
This commit is contained in:
Christoph von Wittich 2016-09-05 07:52:52 +00:00
parent abdc65593f
commit aca10fa72a

View file

@ -670,7 +670,7 @@ EXTERN_C DWORD WINAPI Win32DeleteFileW(LPCWSTR path)
* dest [I] path to target file to move to * dest [I] path to target file to move to
* *
* RETURNS * RETURNS
* ERORR_SUCCESS if successful * ERROR_SUCCESS if successful
*/ */
static DWORD SHNotifyMoveFileW(FILE_OPERATION *op, LPCWSTR src, LPCWSTR dest, BOOL isdir) static DWORD SHNotifyMoveFileW(FILE_OPERATION *op, LPCWSTR src, LPCWSTR dest, BOOL isdir)
{ {
@ -804,7 +804,7 @@ int WINAPI SHCreateDirectory(HWND hWnd, LPCWSTR path)
* ERROR_INVALID_NAME if the path contains invalid chars * ERROR_INVALID_NAME if the path contains invalid chars
* ERROR_FILE_EXISTS when a file with that name exists * ERROR_FILE_EXISTS when a file with that name exists
* ERROR_ALREADY_EXISTS when the directory already exists * ERROR_ALREADY_EXISTS when the directory already exists
* ERROR_FILENAME_EXCED_RANGE if the filename was to long to process * ERROR_FILENAME_EXCED_RANGE if the filename was too long to process
* *
* FIXME: Not implemented yet; * FIXME: Not implemented yet;
* SHCreateDirectoryEx also verifies that the files in the directory will be visible * SHCreateDirectoryEx also verifies that the files in the directory will be visible
@ -1266,7 +1266,7 @@ static BOOL copy_file_to_file(FILE_OPERATION *op, const WCHAR *szFrom, const WCH
if (!(op->req->fFlags & FOF_NOCONFIRMATION) && PathFileExistsW(szTo)) if (!(op->req->fFlags & FOF_NOCONFIRMATION) && PathFileExistsW(szTo))
{ {
if (!SHELL_ConfirmDialogW(op->req->hwnd, ASK_OVERWRITE_FILE, PathFindFileNameW(szTo), op)) if (!SHELL_ConfirmDialogW(op->req->hwnd, ASK_OVERWRITE_FILE, PathFindFileNameW(szTo), op))
return 0; return FALSE;
} }
return SHNotifyCopyFileW(op, szFrom, szTo, FALSE) == 0; return SHNotifyCopyFileW(op, szFrom, szTo, FALSE) == 0;
@ -1970,7 +1970,7 @@ EXTERN_C HRESULT WINAPI SHPathPrepareForWriteW(HWND hwnd, IUnknown *modless, LPC
WCHAR* last_slash; WCHAR* last_slash;
WCHAR* temppath=NULL; WCHAR* temppath=NULL;
TRACE("%p %p %s 0x%80x\n", hwnd, modless, debugstr_w(path), flags); TRACE("%p %p %s 0x%08x\n", hwnd, modless, debugstr_w(path), flags);
if (flags & ~(SHPPFW_DIRCREATE|SHPPFW_ASKDIRCREATE|SHPPFW_IGNOREFILENAME)) if (flags & ~(SHPPFW_DIRCREATE|SHPPFW_ASKDIRCREATE|SHPPFW_IGNOREFILENAME))
FIXME("unimplemented flags 0x%08x\n", flags); FIXME("unimplemented flags 0x%08x\n", flags);