Update of /cvsroot/ufraw/ufraw
In directory vz-cvs-3.sog:/tmp/cvs-serv30147

Modified Files:
        ufraw_lensfun.cc ufraw_ufraw.c 
Log Message:
Fix coding style.

Index: ufraw_ufraw.c
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_ufraw.c,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -d -r1.262 -r1.263
--- ufraw_ufraw.c       27 Jul 2011 13:50:46 -0000      1.262
+++ ufraw_ufraw.c       6 Aug 2011 10:47:24 -0000       1.263
@@ -464,8 +464,8 @@
     UFBoolean reset = !uf->LoadingID;
     if (conf != NULL && conf->ufobject != NULL) {
         UFObject *conf_lensfun_auto = ufgroup_element(conf->ufobject,
-                ufLensfunAuto);
-       // Do not reset lensfun settings from conf file.
+                                      ufLensfunAuto);
+        // Do not reset lensfun settings from conf file.
         if (ufstring_is_equal(conf_lensfun_auto, "no"))
             reset = FALSE;
     }

Index: ufraw_lensfun.cc
===================================================================
RCS file: /cvsroot/ufraw/ufraw/ufraw_lensfun.cc,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- ufraw_lensfun.cc    4 Aug 2011 03:57:26 -0000       1.24
+++ ufraw_lensfun.cc    6 Aug 2011 10:47:23 -0000       1.25
@@ -180,7 +180,7 @@
 public:
     FocalLength() : UFArray(ufFocalLength) { }
     void Event(UFEventType type) {
-        if (type == uf_default_changed && Index()==-1) {
+        if (type == uf_default_changed && Index() == -1) {
             // Default value is changed during Init. Reset to this default
             // value if no other value was set.
             Reset();
@@ -235,7 +235,7 @@
 public:
     Aperture() : UFArray(ufAperture) { }
     void Event(UFEventType type) {
-        if (type == uf_default_changed && Index()==-1) {
+        if (type == uf_default_changed && Index() == -1) {
             // Default value is changed during Init. Reset to this default
             // value if no other value was set.
             Reset();
@@ -289,7 +289,7 @@
 public:
     Distance() : UFArray(ufDistance) { }
     void Event(UFEventType type) {
-        if (type == uf_default_changed && Index()==-1) {
+        if (type == uf_default_changed && Index() == -1) {
             // Default value is changed during Init. Reset to this default
             // value if no other value was set.
             Reset();
@@ -346,7 +346,7 @@
             Lensfun[ufLensModel].Reset();
         } else {
             char *lens_model = g_strdup_printf("Generic, Crop factor %.4g",
-                    Lensfun.Transformation.CropFactor);
+                                               
Lensfun.Transformation.CropFactor);
             Lensfun[ufLensModel].Set(lens_model);
             g_free(lens_model);
         }
@@ -650,7 +650,7 @@
 {
     char make[200], model[200];
     parse_maker_model((*this)[ufLensModel].StringValue(), make, sizeof(make),
-            model, sizeof(model));
+                      model, sizeof(model));
     if (strcmp(make, "Generic") == 0) {
         double crop_factor;
         int count = sscanf(model, "Crop factor %lf", &crop_factor);
@@ -663,7 +663,7 @@
         }
     } else {
         const lfLens **lensList = LensDB()->FindLenses(&Camera,
-                                                make, model, LF_SEARCH_LOOSE);
+                                  make, model, LF_SEARCH_LOOSE);
         if (lensList == NULL || lensList[0] == NULL) {
             lfLens emptyLens;
             Interpolation = emptyLens;


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
ufraw-cvs mailing list
ufraw-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ufraw-cvs

Reply via email to