Skip to content

Commit 924592d

Browse files
authored
[DESK] Don't include .ico files in list of wallpapers (reactos#7726)
CORE-20003
1 parent 56c8c8a commit 924592d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dll/cpl/desk/background.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ GdipGetSupportedFileExtensions(VOID)
155155

156156
for (i = 0; i < num; ++i)
157157
{
158+
if (!lstrcmpiW(codecInfo[i].FilenameExtension, L"*.ico"))
159+
continue;
160+
158161
StringCbCatW(lpBuffer, size, codecInfo[i].FilenameExtension);
159162
if (i < (num - 1))
160163
{

0 commit comments

Comments
 (0)