raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=048a658ff9190c064b41e76cb86748a25fff9231

commit 048a658ff9190c064b41e76cb86748a25fff9231
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Oct 4 22:17:02 2020 +0100

    emix - mixer backend - fix string compare to compare wholes string
---
 src/modules/mixer/lib/emix.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/modules/mixer/lib/emix.c b/src/modules/mixer/lib/emix.c
index cb8ea128b..ba2436d55 100644
--- a/src/modules/mixer/lib/emix.c
+++ b/src/modules/mixer/lib/emix.c
@@ -204,8 +204,7 @@ emix_backend_set(const char *backend)
 
    EINA_LIST_FOREACH(ctx->backends_names, l, name)
      {
-        if (!strncmp(name, backend, strlen(name)))
-          break;
+        if (!strcmp(name, backend)) break;
         i++;
      }
 

-- 


Reply via email to