Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_tree2.c 


Log Message:
- nothing to do if no rows

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -3 -r1.60 -r1.61
--- ewl_tree2.c 5 Mar 2007 11:52:55 -0000       1.60
+++ ewl_tree2.c 6 Mar 2007 11:00:19 -0000       1.61
@@ -809,6 +809,9 @@
        DCHECK_PARAM_PTR("curbranch", curbranch);
        DCHECK_PARAM_PTR("parent", parent);
 
+       if (!curbranch->row_count)
+               DRETURN(DLEVEL_STABLE);
+
        while (curbranch)
        {
                Ewl_Widget *row, *node;



-------------------------------------------------------------------------
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