Enlightenment CVS committal Author : werkt Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src Modified Files: ewl_widget.c Log Message: ewl_widget_appearance_single_get, now with NULL =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_widget.c,v retrieving revision 1.132 retrieving revision 1.133 diff -u -3 -r1.132 -r1.133 --- ewl_widget.c 4 Jan 2005 17:36:26 -0000 1.132 +++ ewl_widget.c 4 Jan 2005 18:01:33 -0000 1.133 @@ -476,7 +476,7 @@ DENTER_FUNCTION(DLEVEL_STABLE); DCHECK_PARAM_PTR_RET("w", w, NULL); - ret = strdup( w->appearance ? w->appearance : "" ); + ret = w->appearance ? strdup( w->appearance ) : NULL; DRETURN_PTR(ret, DLEVEL_STABLE); } ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs