Enlightenment CVS committal
Author : handyande
Project : misc
Module : engage
Dir : misc/engage/src/module
Modified Files:
e_mod_main.c
Log Message:
fix seg on null path
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/module/e_mod_main.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -3 -r1.98 -r1.99
--- e_mod_main.c 13 Dec 2005 23:23:08 -0000 1.98
+++ e_mod_main.c 15 Dec 2005 11:14:36 -0000 1.99
@@ -1023,7 +1023,8 @@
/* FIXME - this could be slow - is there a reason we need to check the path -
* why would the other two fail if we are referencing the same eap? */
- if (!strcmp(((E_App *)ic->app)->path, a->path)) return ic;
+ if (((E_App *) ic->app)->path && a->path &&
+ !strcmp(((E_App *)ic->app)->path, a->path)) return ic;
}
return NULL;
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs