From 24f017e09c2687ece47f015aa49b32493808e119 Mon Sep 17 00:00:00 2001 From: Alfred Roos <54032594+spynetS@users.noreply.github.com> Date: Thu, 8 Dec 2022 23:29:23 +0100 Subject: [PATCH] Fixed wrong argument in inputs.s input_desktop (#469) --- 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) {