Update of /cvsroot/ufraw/ufraw
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv2796

Modified Files:
        ufraw_routines.c 
Log Message:
Simplify profile_default_gamma().

Index: ufraw_routines.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_routines.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- ufraw_routines.c    27 Feb 2010 10:45:15 -0000      1.107
+++ ufraw_routines.c    27 Feb 2010 11:10:10 -0000      1.108
@@ -220,10 +220,9 @@
 double profile_default_gamma(profile_data *p)
 {
     if ( !strcmp(p->name, "No profile")
-       || !strcmp(p->name, "Color matrix") )
-       return 0.45;
-    else if ( !strncmp(p->productName, "Nikon D", 7)
-           || !strncmp(p->productName, "Adobe RGB (1998)", 16) )
+       || !strcmp(p->name, "Color matrix")
+       || !strncmp(p->productName, "Nikon D", 7)
+       || !strncmp(p->productName, "Adobe RGB (1998)", 16) )
        return 0.45;
     else
        return 1.0;


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to