Mike McCormack : shell32:
Use case insensitive comparisons when comparing paths.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 8 13:21:29 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 5678ec4db6f96b86b423b10f44485caba6599d5b
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5678ec4db6f96b86b423b10f44485caba6599d5b
Author: Mike McCormack <mike at codeweavers.com>
Date: Tue Aug 8 18:47:02 2006 +0900
shell32: Use case insensitive comparisons when comparing paths.
---
dlls/shell32/shlfileop.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index dda59de..e05b2fa 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -1042,7 +1042,7 @@ static HRESULT copy_files(LPSHFILEOPSTRU
fileDest = &flTo->feFiles[i];
if (IsAttribDir(entryToCopy->attributes) &&
- !lstrcmpW(entryToCopy->szFullPath, fileDest->szDirectory))
+ !lstrcmpiW(entryToCopy->szFullPath, fileDest->szDirectory))
{
return ERROR_SUCCESS;
}
@@ -1052,7 +1052,7 @@ static HRESULT copy_files(LPSHFILEOPSTRU
create_dest_dirs(fileDest->szDirectory);
- if (!strcmpW(entryToCopy->szFullPath, fileDest->szFullPath))
+ if (!lstrcmpiW(entryToCopy->szFullPath, fileDest->szFullPath))
{
if (IsAttribFile(entryToCopy->attributes))
return ERROR_NO_MORE_SEARCH_HANDLES;
More information about the wine-cvs
mailing list