Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_grid.c 


Log Message:
formatting

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_grid.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- ewl_grid.c  6 Feb 2007 13:42:17 -0000       1.36
+++ ewl_grid.c  24 Mar 2007 23:35:59 -0000      1.37
@@ -885,9 +885,6 @@
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
-
-
-
 /**
  * @internal
  * @param w: The widget to work with
@@ -1081,7 +1078,6 @@
                c = (Ewl_Grid_Child *) ewl_widget_data_get(child, (void *) g);
                if (c) continue;
 
-
                /*
                 * go to the next free place
                 */
@@ -1106,7 +1102,6 @@
                c = (Ewl_Grid_Child *) ewl_widget_data_get(child, (void *) g);
                if (!c) continue;
 
-
                /* 
                 * first calculate the current preferred size 
                 * of the cells 
@@ -1136,7 +1131,6 @@
        /*
         * calculate the preferred size
         */
-
        if (g->homogeneous_h) {
                int i, size;
 
@@ -1269,9 +1263,11 @@
                 */
                rel = (double)(new_w - fixed) / (double)var;
                for (i = 0; i < g->cols; i++)
-                       if (g->col_size[i].resize_type == 
EWL_GRID_RESIZE_NORMAL)
+                       if (g->col_size[i].resize_type 
+                                       == EWL_GRID_RESIZE_NORMAL)
                                g->col_size[i].current_size = 
-                                       (int)(g->col_size[i].preferred_size * 
rel);
+                                       (int)(g->col_size[i].preferred_size 
+                                                                       * rel);
        }
 
        /*
@@ -1321,9 +1317,11 @@
                 */
                rel = (double)(new_h - fixed) / (double)var;
                for (i = 0; i < g->rows; i++)
-                       if (g->row_size[i].resize_type == 
EWL_GRID_RESIZE_NORMAL)
+                       if (g->row_size[i].resize_type 
+                                       == EWL_GRID_RESIZE_NORMAL)
                                g->row_size[i].current_size = 
-                                       (int)(g->row_size[i].preferred_size * 
rel);
+                                       (int)(g->row_size[i].preferred_size 
+                                                                       * rel);
        }
 
        /*



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to