bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/misc/entrance.git/commit/?id=3836ea49a96bb0813c2750b1eea0a22f4fc2d34c

commit 3836ea49a96bb0813c2750b1eea0a22f4fc2d34c
Author: Marcel Hollerbach <[email protected]>
Date:   Tue Apr 8 19:55:37 2014 +0200

    entrance: Use strrchr instead of ecore_file_file_get
---
 src/bin/entrance_conf.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/entrance_conf.c b/src/bin/entrance_conf.c
index 41427ba..1c80223 100644
--- a/src/bin/entrance_conf.c
+++ b/src/bin/entrance_conf.c
@@ -91,7 +91,9 @@ entrance_conf_background_title_gen(Entrance_Conf_Background 
*cbg)
 
    if (cbg->group)
      {
-        group_suffix = ecore_file_file_get(cbg->group);
+        group_suffix = strrchr(cbg->group, '/');
+        //no "/" char
+        group_suffix ++;
      }
 
    if ((group_suffix) && (filename))

-- 


Reply via email to