Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2c8367a3
Commit
2c8367a3
authored
Mar 07, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use lstrcmpiA in preference to strcasecmp.
parent
b92f1431
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
dialogs.c
dlls/shell32/dialogs.c
+1
-1
folders.c
dlls/shell32/folders.c
+1
-1
shellpath.c
dlls/shell32/shellpath.c
+1
-1
shlfolder.c
dlls/shell32/shlfolder.c
+2
-2
shlview.c
dlls/shell32/shlview.c
+4
-4
No files found.
dlls/shell32/dialogs.c
View file @
2c8367a3
...
...
@@ -283,7 +283,7 @@ void FillList (HWND hCb, char *pszLatest)
if
(
NULL
!=
pszLatest
)
{
if
(
!
strcasecmp
(
pszCmd
,
pszLatest
))
if
(
!
lstrcmpiA
(
pszCmd
,
pszLatest
))
{
/*
sprintf (szDbgMsg, "Found existing (%d).\n", Nix) ;
...
...
dlls/shell32/folders.c
View file @
2c8367a3
...
...
@@ -328,7 +328,7 @@ static HRESULT WINAPI IExtractIconW_fnGetIconLocation(
found
=
TRUE
;
}
else
if
(
!
strcasecmp
(
sTemp
,
"lnkfile"
))
else
if
(
!
lstrcmpiA
(
sTemp
,
"lnkfile"
))
{
/* extract icon from shell shortcut */
IShellFolder
*
dsf
;
...
...
dlls/shell32/shellpath.c
View file @
2c8367a3
...
...
@@ -365,7 +365,7 @@ static BOOL PathIsExeA (LPCSTR lpszPath)
TRACE
(
"path=%s
\n
"
,
lpszPath
);
for
(
i
=
0
;
lpszExtensions
[
i
];
i
++
)
if
(
!
strcasecmp
(
lpszExtension
,
lpszExtensions
[
i
]))
return
TRUE
;
if
(
!
lstrcmpiA
(
lpszExtension
,
lpszExtensions
[
i
]))
return
TRUE
;
return
FALSE
;
}
...
...
dlls/shell32/shlfolder.c
View file @
2c8367a3
...
...
@@ -422,7 +422,7 @@ HRESULT SHELL32_GetItemAttributes (IShellFolder * psf, LPCITEMIDLIST pidl, LPDWO
if
(
SFGAO_LINK
&
*
pdwAttributes
)
{
char
ext
[
MAX_PATH
];
if
(
!
_ILGetExtension
(
pidl
,
ext
,
MAX_PATH
)
||
strcasecmp
(
ext
,
"lnk"
))
if
(
!
_ILGetExtension
(
pidl
,
ext
,
MAX_PATH
)
||
lstrcmpiA
(
ext
,
"lnk"
))
*
pdwAttributes
&=
~
SFGAO_LINK
;
}
}
else
{
...
...
@@ -469,7 +469,7 @@ HRESULT SHELL32_CompareIDs (IShellFolder * iface, LPARAM lParam, LPCITEMIDLIST p
/* test for name of pidl */
_ILSimpleGetText
(
pidl1
,
szTemp1
,
MAX_PATH
);
_ILSimpleGetText
(
pidl2
,
szTemp2
,
MAX_PATH
);
nReturn
=
strcasecmp
(
szTemp1
,
szTemp2
);
nReturn
=
lstrcmpiA
(
szTemp1
,
szTemp2
);
if
(
nReturn
<
0
)
return
MAKE_HRESULT
(
SEVERITY_SUCCESS
,
0
,
(
WORD
)
-
1
);
else
if
(
nReturn
>
0
)
...
...
dlls/shell32/shlview.c
View file @
2c8367a3
...
...
@@ -454,7 +454,7 @@ static INT CALLBACK ShellView_ListViewCompareItems(LPVOID lParam1, LPVOID lParam
{
_ILGetFileAttributes
(
pItemIdList1
,
strName1
,
MAX_PATH
);
_ILGetFileAttributes
(
pItemIdList2
,
strName2
,
MAX_PATH
);
nDiff
=
strcasecmp
(
strName1
,
strName2
);
nDiff
=
lstrcmpiA
(
strName1
,
strName2
);
}
/* Sort by FileName: Folder or Files can be sorted */
else
if
(
pSortInfo
->
nHeaderID
==
LISTVIEW_COLUMN_NAME
||
bIsBothFolder
)
...
...
@@ -462,7 +462,7 @@ static INT CALLBACK ShellView_ListViewCompareItems(LPVOID lParam1, LPVOID lParam
/* Sort by Text */
_ILSimpleGetText
(
pItemIdList1
,
strName1
,
MAX_PATH
);
_ILSimpleGetText
(
pItemIdList2
,
strName2
,
MAX_PATH
);
nDiff
=
strcasecmp
(
strName1
,
strName2
);
nDiff
=
lstrcmpiA
(
strName1
,
strName2
);
}
/* Sort by File Size, Only valid for Files */
else
if
(
pSortInfo
->
nHeaderID
==
LISTVIEW_COLUMN_SIZE
)
...
...
@@ -475,7 +475,7 @@ static INT CALLBACK ShellView_ListViewCompareItems(LPVOID lParam1, LPVOID lParam
/* Sort by Type */
_ILGetFileType
(
pItemIdList1
,
strName1
,
MAX_PATH
);
_ILGetFileType
(
pItemIdList2
,
strName2
,
MAX_PATH
);
nDiff
=
strcasecmp
(
strName1
,
strName2
);
nDiff
=
lstrcmpiA
(
strName1
,
strName2
);
}
}
/* If the Date, FileSize, FileType, Attrib was the same, sort by FileName */
...
...
@@ -484,7 +484,7 @@ static INT CALLBACK ShellView_ListViewCompareItems(LPVOID lParam1, LPVOID lParam
{
_ILSimpleGetText
(
pItemIdList1
,
strName1
,
MAX_PATH
);
_ILSimpleGetText
(
pItemIdList2
,
strName2
,
MAX_PATH
);
nDiff
=
strcasecmp
(
strName1
,
strName2
);
nDiff
=
lstrcmpiA
(
strName1
,
strName2
);
}
if
(
!
pSortInfo
->
bIsAscending
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment