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
parent 33662480e9
commit 24f017e09c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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