options_elm: fix original _find_binary

This commit is contained in:
Boris Faure 2020-05-18 22:25:20 +02:00
parent 1b88cd96e6
commit 446823b6ea
Signed by untrusted user who does not match committer: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 1 additions and 1 deletions

View File

@ -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,