We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd1783 commit 54e87abCopy full SHA for 54e87ab
1 file changed
src/ImageSharp/Formats/Icon/IconImageFormatDetector.cs
@@ -38,7 +38,7 @@ public bool TryDetectFormat(ReadOnlySpan<byte> header, [NotNullWhen(true)] out I
38
IconDir dir = IconDir.Parse(header);
39
if (dir is not { Reserved: 0 } // Should be 0.
40
or not { Type: IconFileType.ICO or IconFileType.CUR } // Unknown Type.
41
- or { Count: 0 }) // Should not be 0.
+ or { Count: 0 })
42
{
43
return null;
44
}
0 commit comments