Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/lib


Modified Files:
        etk_widget.c 


Log Message:
Always free old data if they exist.

===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_widget.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -3 -r1.88 -r1.89
--- etk_widget.c        26 Dec 2006 14:51:23 -0000      1.88
+++ etk_widget.c        29 Dec 2006 13:42:09 -0000      1.89
@@ -1759,8 +1759,7 @@
       return;
    
    /* free old data */
-   if(num <= 0 || types == NULL || 
-     (widget->dnd_types_num > 0 && widget->dnd_types != NULL))
+   if(widget->dnd_types_num > 0 && widget->dnd_types != NULL)
    {
       
       for(i = 0; i < widget->dnd_types_num; i++)



-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to