Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_box.c
Log Message:
Oops, don't multiply the spacing now.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_box.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_box.c 4 Nov 2005 04:30:25 -0000 1.14
+++ ewl_box.c 10 Nov 2005 20:28:47 -0000 1.15
@@ -734,7 +734,7 @@
void
ewl_box_child_show_cb(Ewl_Container * c, Ewl_Widget * w)
{
- int nodes, space = 0;
+ int space = 0;
int width, height;
int cw, ch;
@@ -744,10 +744,8 @@
DCHECK_TYPE("c", c, "container");
DCHECK_TYPE("w", w, "widget");
- nodes = ecore_list_nodes(c->children) - 1;
- if (nodes < 0)
- nodes = 0;
- space = EWL_BOX(c)->spacing * nodes;
+ if (ecore_list_nodes(c->children) > 1);
+ space = EWL_BOX(c)->spacing;
/*
* Get the sizes common to both calculations.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs