Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_window.c Log Message: Indentation fix for the window code. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_window.c,v retrieving revision 1.33 retrieving revision 1.34 diff -u -3 -r1.33 -r1.34 --- ewl_window.c 22 Feb 2006 03:51:01 -0000 1.33 +++ ewl_window.c 22 Feb 2006 05:16:36 -0000 1.34 @@ -1064,7 +1064,7 @@ * Now give the windows the appropriate size and adjust the evas as * well. */ - if (win->flags & EWL_WINDOW_USER_CONFIGURE) + if (win->flags & EWL_WINDOW_USER_CONFIGURE) win->flags &= ~EWL_WINDOW_USER_CONFIGURE; else { #ifdef ENABLE_EWL_SOFTWARE_X11 @@ -1114,7 +1114,7 @@ ecore_dlist_goto_first(EWL_CONTAINER(w)->children); while ((child = ecore_dlist_next(EWL_CONTAINER(w)->children))) { int x, y; - int size; + int size; /* * Try to give the child the full size of the window from it's @@ -1124,21 +1124,21 @@ */ x = ewl_object_current_x_get(EWL_OBJECT(child)); y = ewl_object_current_y_get(EWL_OBJECT(child)); - - if (x < CURRENT_X(w)) - { + + if (x < CURRENT_X(w)) { x = CURRENT_X(w); - size = ewl_object_preferred_w_get(EWL_OBJECT(child)); - if (size > PREFERRED_W(w)) - ewl_object_preferred_inner_w_set(EWL_OBJECT(w), size); - } - if (y < CURRENT_Y(w)) - { + size = ewl_object_preferred_w_get(EWL_OBJECT(child)); + if (size > PREFERRED_W(w)) + ewl_object_preferred_inner_w_set(EWL_OBJECT(w), + size); + } + if (y < CURRENT_Y(w)) { y = CURRENT_Y(w); - size = ewl_object_preferred_h_get(EWL_OBJECT(child)); - if (size > PREFERRED_H(w)) - ewl_object_preferred_inner_h_set(EWL_OBJECT(w), size); - } + size = ewl_object_preferred_h_get(EWL_OBJECT(child)); + if (size > PREFERRED_H(w)) + ewl_object_preferred_inner_h_set(EWL_OBJECT(w), + size); + } ewl_object_place(child, x, y, CURRENT_W(w) - (x - CURRENT_X(w)), CURRENT_H(w) - (y - CURRENT_Y(w))); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs