From 1882a43d33a3df13e18150c462e43a3c24e393ae Mon Sep 17 00:00:00 2001 From: Drew Noakes Date: Sun, 18 Feb 2024 23:08:40 +1100 Subject: [PATCH] Formatting --- MetadataExtractor/Formats/Exif/ExifTiffHandler.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MetadataExtractor/Formats/Exif/ExifTiffHandler.cs b/MetadataExtractor/Formats/Exif/ExifTiffHandler.cs index 5ccf23d9..7b1c4ebf 100644 --- a/MetadataExtractor/Formats/Exif/ExifTiffHandler.cs +++ b/MetadataExtractor/Formats/Exif/ExifTiffHandler.cs @@ -615,7 +615,7 @@ private bool ProcessMakernote(in TiffReaderContext context, int makernoteOffset) Directories.Add(directory); ProcessKodakMakernote(directory, makernoteOffset, context.Reader.WithByteOrder(isMotorolaByteOrder: headerBytes.StartsWith("KDK INFO"u8))); } - else if (cameraMake is not null && cameraMake.Equals("CANON", StringComparison.OrdinalIgnoreCase)) + else if (cameraMake is not null && cameraMake.Equals("CANON", StringComparison.OrdinalIgnoreCase)) // Observed "Canon" { PushDirectory(new CanonMakernoteDirectory()); TiffReader.ProcessIfd(this, context, ifdOffset: makernoteOffset); @@ -633,8 +633,7 @@ private bool ProcessMakernote(in TiffReaderContext context, int makernoteOffset) TiffReader.ProcessIfd(this, context, ifdOffset: makernoteOffset); } } - else if (headerBytes.StartsWith("FUJIFILM"u8) || - string.Equals("FUJIFILM", cameraMake, StringComparison.OrdinalIgnoreCase)) + else if (headerBytes.StartsWith("FUJIFILM"u8) || string.Equals("FUJIFILM", cameraMake, StringComparison.OrdinalIgnoreCase)) { // Note that this also applies to certain Leica cameras, such as the Digilux-4.3. // The 4 bytes after "FUJIFILM" in the makernote point to the start of the makernote