Author: hbelusca
Date: Sun Nov  9 12:00:28 2014
New Revision: 65341

URL: http://svn.reactos.org/svn/reactos?rev=65341&view=rev
Log:
[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!

Modified:
    trunk/reactos/dll/cpl/desk/background.c

Modified: trunk/reactos/dll/cpl/desk/background.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/background.c?rev=65341&r1=65340&r2=65341&view=diff
==============================================================================
--- trunk/reactos/dll/cpl/desk/background.c     [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/desk/background.c     [iso-8859-1] Sun Nov  9 
12:00:28 2014
@@ -237,7 +237,7 @@
             }
 
             /* 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,


Reply via email to