Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_row.c 


Log Message:
Fix for clipping of headers.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_row.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- ewl_row.c   18 Aug 2004 04:20:09 -0000      1.32
+++ ewl_row.c   5 Sep 2004 07:14:20 -0000       1.33
@@ -183,8 +183,8 @@
                         * Attempt to divvy up remaining space equally among
                         * remaining children.
                         */
-                       portion = MAX(ewl_object_preferred_w_get(child),
-                                       remains / nodes);
+                       portion = remains / nodes; /* 
MAX(ewl_object_preferred_w_get(child),
+                                       remains / nodes); */
                        ewl_object_position_request(child, x, CURRENT_Y(w));
                        ewl_object_w_request(child, portion);
 
@@ -192,7 +192,7 @@
                        x = ewl_object_current_x_get(child) +
                                ewl_object_current_w_get(child);
 
-                       remains -= CURRENT_W(child);
+                       remains -= ewl_object_current_w_get(child);
                        nodes--;
                }
 




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to