[gegl] operations/external/raw-load: Use a named constant, not a magic number



commit 9fa2bc60fa9949ea176a25fc8ba09f88e1f067d8
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Feb 4 00:41:11 2017 +0100

    operations/external/raw-load: Use a named constant, not a magic number
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778160

 operations/external/raw-load.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c
index b1f06b1..7b40403 100644
--- a/operations/external/raw-load.c
+++ b/operations/external/raw-load.c
@@ -94,7 +94,7 @@ prepare (GeglOperation *operation)
       p->LibRaw = NULL;
       p->image = NULL;
 
-      if ((p->LibRaw = libraw_init(0)) == NULL)
+      if ((p->LibRaw = libraw_init(LIBRAW_OPTIONS_NONE)) == NULL)
         g_warning ("raw-load: Error Initializing raw library");
       else
         {


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