hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=721f69bbd45f977d5c27f6f900b6f33deeb40ec7

commit 721f69bbd45f977d5c27f6f900b6f33deeb40ec7
Author: Hermet Park <[email protected]>
Date:   Fri Sep 30 17:32:29 2016 +0900

    fix an incorrect API usage.
    
    Previous api call for directory check is not proper.
    Fixed to the proper API.
    
    This was noticed by ecore_file_path_dir_exists() bug fix.
---
 src/bin/newfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/newfile.c b/src/bin/newfile.c
index 3ef4dbe..4b2c0bc 100644
--- a/src/bin/newfile.c
+++ b/src/bin/newfile.c
@@ -74,7 +74,7 @@ templates_get(new_data *nd)
    char buf[PATH_MAX];
    snprintf(buf, sizeof(buf), "%s/templates", elm_app_data_dir_get());
 
-   if (!ecore_file_path_dir_exists(buf))
+   if (!ecore_file_is_dir(buf))
      {
         EINA_LOG_ERR(_("Cannot find templates folder! \"%s\""), buf);
         return;

-- 


Reply via email to