Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/tools/ewl_config


Modified Files:
        ewl_config.c 


Log Message:
- patch from pfritz to fix part of bug 522. Only close the directory if we
  actually opened it in the first place.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/tools/ewl_config/ewl_config.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -3 -r1.58 -r1.59
--- ewl_config.c        11 Jun 2008 23:17:33 -0000      1.58
+++ ewl_config.c        24 Jul 2008 03:54:01 -0000      1.59
@@ -357,8 +357,9 @@
                 ret = ec_themes_get(rep, list, v);
                 if (ret >= 0)
                         sel = ret;
+
+                closedir(rep);
         }
-        closedir(rep);
 
         if (sel >= 0)
                 ewl_mvc_selected_set(EWL_MVC(o), NULL, list, sel, 0);



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to