https://git.reactos.org/?p=reactos.git;a=commitdiff;h=924592dc47d9335b2c37e…
commit 924592dc47d9335b2c37e70b39b7fa0a1333156a
Author: Whindmar Saksit <whindsaks(a)proton.me>
AuthorDate: Sat Feb 22 13:01:32 2025 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Feb 22 13:01:32 2025 +0100
[DESK] Don't include .ico files in list of wallpapers (#7726)
CORE-20003
---
dll/cpl/desk/background.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dll/cpl/desk/background.c b/dll/cpl/desk/background.c
index 931ef142c5e..6079d67ee89 100644
--- a/dll/cpl/desk/background.c
+++ b/dll/cpl/desk/background.c
@@ -155,6 +155,9 @@ GdipGetSupportedFileExtensions(VOID)
for (i = 0; i < num; ++i)
{
+ if (!lstrcmpiW(codecInfo[i].FilenameExtension, L"*.ico"))
+ continue;
+
StringCbCatW(lpBuffer, size, codecInfo[i].FilenameExtension);
if (i < (num - 1))
{