[gimp/gimp-2-10] Issue #5734: fix typos in if() test.



commit 6d491fbab9b97b4fe1312b17bed5d9eebecd68df
Author: Jehan <jehan girinstud io>
Date:   Thu Oct 8 01:35:26 2020 +0200

    Issue #5734: fix typos in if() test.
    
    (cherry picked from commit 66dae000f919b0899a8970b38825ab255911c6a2)

 plug-ins/common/file-heif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c
index 945951e5f4..543994ce13 100644
--- a/plug-ins/common/file-heif.c
+++ b/plug-ins/common/file-heif.c
@@ -1139,12 +1139,12 @@ load_image (GFile     *file,
             while (new_exif_size >= 4)  /*Searching for TIFF Header*/
               {
                 if (tiffheader[0] == tiffHeaderBE[0] && tiffheader[1] == tiffHeaderBE[1] &&
-                    tiffheader[2] == tiffHeaderBE[2] && tiffheader[2] == tiffHeaderBE[2])
+                    tiffheader[2] == tiffHeaderBE[2] && tiffheader[3] == tiffHeaderBE[3])
                   {
                     break;
                   }
                 if (tiffheader[0] == tiffHeaderLE[0] && tiffheader[1] == tiffHeaderLE[1] &&
-                    tiffheader[2] == tiffHeaderLE[2] && tiffheader[2] == tiffHeaderLE[2])
+                    tiffheader[2] == tiffHeaderLE[2] && tiffheader[3] == tiffHeaderLE[3])
                   {
                     break;
                   }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]