mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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. */
|
||||
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,
|
||||
0,
|
||||
|
|
Loading…
Reference in a new issue