Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_text.c
Log Message:
Sloppy.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_text.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -3 -r1.65 -r1.66
--- ewl_text.c 8 Jun 2004 14:14:26 -0000 1.65
+++ ewl_text.c 9 Jun 2004 13:19:21 -0000 1.66
@@ -124,10 +124,10 @@
ewl_text_update_size(ta);
}
- text = strdup(text);
+ text = (text ? strdup(text) : NULL);
ewl_callback_call_with_event_data(EWL_WIDGET(ta),
EWL_CALLBACK_VALUE_CHANGED, text);
- FREE(text);
+ IF_FREE(text);
DLEAVE_FUNCTION(DLEVEL_STABLE);
}
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs