Browse Source

Remove a comment

pull/2579/head
舰队的偶像-岛风酱! 2 years ago
parent
commit
54e87ab63a
No known key found for this signature in database GPG Key ID: 71F5B3A2B181950C
  1. 2
      src/ImageSharp/Formats/Icon/IconImageFormatDetector.cs

2
src/ImageSharp/Formats/Icon/IconImageFormatDetector.cs

@ -38,7 +38,7 @@ public class IconImageFormatDetector : IImageFormatDetector
IconDir dir = IconDir.Parse(header);
if (dir is not { Reserved: 0 } // Should be 0.
or not { Type: IconFileType.ICO or IconFileType.CUR } // Unknown Type.
or { Count: 0 }) // Should not be 0.
or { Count: 0 })
{
return null;
}

Loading…
Cancel
Save