mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:22:58 +00:00
[DESK.CPL]
Do string case-insensitive comparisons when adding wallpaper file names to the list. Patch by Ricardo Hanke. CORE-8775 #resolve #comment Fixed in r65341, thanks! svn path=/trunk/; revision=65341
This commit is contained in:
parent
9789eed844
commit
9108b0107b
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ AddListViewItems(HWND hwndDlg, PDATA pData)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Don't add any hidden bitmaps. Also don't add current wallpaper once more. */
|
/* Don't add any hidden bitmaps. Also don't add current wallpaper once more. */
|
||||||
if (((fd.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN) == 0) && (_tcscmp(wallpaperFilename, filename) != 0))
|
if (((fd.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN) == 0) && (_tcsicmp(wallpaperFilename, filename) != 0))
|
||||||
{
|
{
|
||||||
himl = (HIMAGELIST)SHGetFileInfo(filename,
|
himl = (HIMAGELIST)SHGetFileInfo(filename,
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue