From f1bf1188667aff500da75ea54947d11b6f90c92a Mon Sep 17 00:00:00 2001 From: spy Date: Thu, 8 Dec 2022 17:16:28 +0100 Subject: [PATCH] Fixed wrong argument in inputs.s input_desktop --- src/inputs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inputs.c b/src/inputs.c index b88ff51..9813e0d 100644 --- a/src/inputs.c +++ b/src/inputs.c @@ -196,7 +196,7 @@ void input_desktop_add( target->list[target->cur] = name; int name_len = strlen(name); - char* name_simple = strdup(name_len); + char* name_simple = strdup(name); if (strstr(name_simple, " ") != NULL) {