Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_menu_base.c
Log Message:
Really fix the if statement this time
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_menu_base.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_menu_base.c 23 Oct 2005 07:13:41 -0000 1.8
+++ ewl_menu_base.c 23 Oct 2005 07:18:00 -0000 1.9
@@ -210,8 +210,9 @@
/*
* Destroy the icon if it's the wrong type.
*/
- if ((item->icon && ((image && !ewl_widget_type_is(item->icon, "image")))
- || (!image && (!ewl_widget_type_is(item->icon,
"spacer"))))) {
+ if (item->icon && (
+ (image && !ewl_widget_type_is(item->icon, "image")) ||
+ (!image && !ewl_widget_type_is(item->icon, "spacer")))) {
ewl_widget_destroy(item->icon);
item->icon = NULL;
}
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs