Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_widget.c Log Message: - Handle the widgets name being set to NULL =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v retrieving revision 1.150 retrieving revision 1.151 diff -u -3 -r1.150 -r1.151 --- ewl_widget.c 11 Nov 2007 06:16:15 -0000 1.150 +++ ewl_widget.c 11 Nov 2007 18:08:26 -0000 1.151 @@ -145,7 +145,7 @@ ewl_shutdown_add(ewl_widget_name_table_shutdown); } - t = strdup(name); + t = (name ? strdup(name) : NULL); ewl_attach_name_set(w, t); if (ewl_widget_name_table) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs