Fixed wrong argument in inputs.s input_desktop (#469)

This commit is contained in:
Alfred Roos 2022-12-08 23:29:23 +01:00 committed by GitHub
commit 24f017e09c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
{