Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/e_utils

Dir     : e17/apps/e_utils/src/bin/eapp_edit


Modified Files:
        eapp_edit_main.c 


Log Message:
Fixes
===================================================================
RCS file: 
/cvsroot/enlightenment/e17/apps/e_utils/src/bin/eapp_edit/eapp_edit_main.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- eapp_edit_main.c    23 Dec 2004 12:45:22 -0000      1.8
+++ eapp_edit_main.c    4 Jan 2005 14:38:52 -0000       1.9
@@ -224,6 +224,7 @@
 
   icon_file = NULL;
   dialog_win = NULL;
+  ef = NULL;
   /* handle some command-line parameters */
   for (i = 1; i < argc; i++) {
     if (!strcmp(argv[i], "-l") || !strcmp(argv[i], "--lang")) {
@@ -293,7 +294,8 @@
   start = _eapp_edit_read(ef, "app/info/startup_notify", NULL, "Startup 
notify", grid, 9, 1);
   wait = _eapp_edit_read(ef, "app/info/wait_exit", NULL, "Wait exit", grid, 
10, 1);
    
-  eet_close(ef);
+  if (ef)
+    eet_close(ef);
 
   cell = ewl_cell_new();
   content = ewl_button_new("Set Icon");




-------------------------------------------------------
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

Reply via email to