[gegl] tiff: Fix inversion between case and return values...



commit 39da8f5c3d9bd70c2a1f6d66fc832fb429535204
Author: Martin Blanchard <tchaik gmx com>
Date:   Thu Jan 14 22:21:51 2016 +0100

    tiff: Fix inversion between case and return values...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759273

 operations/external/tiff-load.c |    4 ++--
 operations/external/tiff-save.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/external/tiff-load.c b/operations/external/tiff-load.c
index f49dd75..4ca7e91 100644
--- a/operations/external/tiff-load.c
+++ b/operations/external/tiff-load.c
@@ -106,8 +106,8 @@ lseek_to_seek_type(int whence)
     case SEEK_CUR:
       return G_SEEK_CUR;
 
-    case G_SEEK_END:
-      return SEEK_END;
+    case SEEK_END:
+      return G_SEEK_END;
     }
 }
 
diff --git a/operations/external/tiff-save.c b/operations/external/tiff-save.c
index 5eee8f7..54ecff6 100644
--- a/operations/external/tiff-save.c
+++ b/operations/external/tiff-save.c
@@ -81,8 +81,8 @@ lseek_to_seek_type(int whence)
     case SEEK_CUR:
       return G_SEEK_CUR;
 
-    case G_SEEK_END:
-      return SEEK_END;
+    case SEEK_END:
+      return G_SEEK_END;
     }
 }
 


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