diff --git a/Windows/W32Util/ShellUtil.cpp b/Windows/W32Util/ShellUtil.cpp index 0a3621ad30..c0f3af4a49 100644 --- a/Windows/W32Util/ShellUtil.cpp +++ b/Windows/W32Util/ShellUtil.cpp @@ -318,7 +318,7 @@ bool CreateICOFromPNGData(const uint8_t *imageData, size_t imageDataSize, const entry.bHeight = pngHeader.Height(); entry.bColorCount = 0; entry.dwBytesInRes = (DWORD)imageDataSize; - entry.wPlanes = 32; + entry.wPlanes = 1; entry.wBitCount = 32; entry.dwImageOffset = sizeof(hdr) + sizeof(entry);