[gegl] gegl-imgcmp: iteratively approaching something that might work



commit 082a9d7c2c0d8e27f82ffa45ed42d0fa61f5ff1e
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Jun 4 18:54:42 2015 +0200

    gegl-imgcmp: iteratively approaching something that might work

 tools/gegl-imgcmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/gegl-imgcmp.c b/tools/gegl-imgcmp.c
index 216d5cc..8629959 100644
--- a/tools/gegl-imgcmp.c
+++ b/tools/gegl-imgcmp.c
@@ -90,7 +90,7 @@ main (gint    argc,
         error_diff = t;
     }
 
-  if( access( argv[2], F_OK ) != 0 ) {
+  if( access( argv[1], F_OK ) != 0 ) {
     g_print ("missing reference, assuming SUCCESS\n");
     return SUCCESS;
   }


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