mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[DESK] Don't include .ico files in list of wallpapers (#7726)
CORE-20003
This commit is contained in:
parent
56c8c8ab4f
commit
924592dc47
1 changed files with 3 additions and 0 deletions
|
@ -155,6 +155,9 @@ GdipGetSupportedFileExtensions(VOID)
|
||||||
|
|
||||||
for (i = 0; i < num; ++i)
|
for (i = 0; i < num; ++i)
|
||||||
{
|
{
|
||||||
|
if (!lstrcmpiW(codecInfo[i].FilenameExtension, L"*.ico"))
|
||||||
|
continue;
|
||||||
|
|
||||||
StringCbCatW(lpBuffer, size, codecInfo[i].FilenameExtension);
|
StringCbCatW(lpBuffer, size, codecInfo[i].FilenameExtension);
|
||||||
if (i < (num - 1))
|
if (i < (num - 1))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue