billiob pushed a commit to branch terminology-1.7.

http://git.enlightenment.org/apps/terminology.git/commit/?id=446823b6ea86b136113e92b93c6ba8ae785463bd

commit 446823b6ea86b136113e92b93c6ba8ae785463bd
Author: Boris Faure <[email protected]>
Date:   Mon May 18 22:25:20 2020 +0200

    options_elm: fix original _find_binary
---
 src/bin/options_elm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/options_elm.c b/src/bin/options_elm.c
index b68afd0..ce8d8d2 100644
--- a/src/bin/options_elm.c
+++ b/src/bin/options_elm.c
@@ -65,7 +65,7 @@ _find_binary(void)
                   struct stat st;
                   int res;
                   const char *lookup_path;
-                  if (*end == '/')
+                  if (*(end-1) == '/')
                     lookup_path = eina_stringshare_printf("%.*s%s",
                                                           (int)(end - start),
                                                           start,

-- 


Reply via email to