ouch! I didn't read the context and I understood it was for files... but I see, it's for group!
On Tue, Apr 8, 2014 at 3:58 PM, David Seikel <[email protected]> wrote: > On Tue, 8 Apr 2014 15:41:14 -0300 Gustavo Sverzut Barbieri > <[email protected]> wrote: > >> why is that? the ecore_file_file_get() does exactly that: >> >> >> if ((result = strrchr(path, '/'))) result++; > > Damned if he does, damned if he doesn't. > >> On Tue, Apr 8, 2014 at 3:36 PM, Marcel Hollerbach >> <[email protected]> wrote: >> > 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)) >> > >> > -- >> > >> > >> >> >> > > > -- > A big old stinking pile of genius that no one wants > coz there are too many silver coated monkeys in the world. > > ------------------------------------------------------------------------------ > Put Bad Developers to Shame > Dominate Development with Jenkins Continuous Integration > Continuously Automate Build, Test & Deployment > Start a new project now. Try Jenkins in the cloud. > http://p.sf.net/sfu/13600_Cloudbees > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Sverzut Barbieri -------------------------------------- Mobile: +55 (19) 99225-2202 Contact: http://www.gustavobarbieri.com.br/contact ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
