devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=ea7eea771fc416eb4f018732a3aea8f3acfd4429

commit ea7eea771fc416eb4f018732a3aea8f3acfd4429
Author: Vincent Torri <vincent dot torri at gmail dot com>
Date:   Wed Oct 14 07:44:27 2015 +0200

    Use eina_file_path_join() instead of eina_str_join()
---
 src/bin/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/utils.c b/src/bin/utils.c
index f918fd8..a263739 100644
--- a/src/bin/utils.c
+++ b/src/bin/utils.c
@@ -571,7 +571,7 @@ _home_path_get(const Evas_Object *obj EINA_UNUSED, const 
char *relpath)
    if (!_homedir_get(homepath, sizeof(homepath)))
      return NULL;
 
-   eina_str_join(tmppath, sizeof(tmppath), '/', homepath, relpath);
+   eina_file_path_join(tmppath, sizeof(tmppath), homepath, relpath);
    return strdup(tmppath);
 }
 
@@ -584,7 +584,7 @@ _cwd_path_get(const char *relpath)
    tmp = getcwd(cwdpath, PATH_MAX);
    if (!tmp) return NULL;
 
-   eina_str_join(tmppath, sizeof(tmppath), '/', cwdpath, relpath);
+   eina_file_path_join(tmppath, sizeof(tmppath), cwdpath, relpath);
    return strdup(tmppath);
 }
 

-- 


Reply via email to