Browse Source
Update src/ImageSharp/Metadata/Profiles/Exif/Values/ExifNumberArray.cs
Co-authored-by: Günther Foidl <gue@korporal.at>
pull/1760/head
Ildar Khayrutdinov
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/ImageSharp/Metadata/Profiles/Exif/Values/ExifNumberArray.cs
|
|
|
@ -66,7 +66,7 @@ namespace SixLabors.ImageSharp.Metadata.Profiles.Exif |
|
|
|
|
|
|
|
case short[] array: |
|
|
|
{ |
|
|
|
if (value.GetType().Equals(typeof(ushort[]))) |
|
|
|
if (value.GetType() == typeof(ushort[])) |
|
|
|
{ |
|
|
|
return this.SetArray((ushort[])value); |
|
|
|
} |
|
|
|
|