mirror of https://github.com/fairyglade/ly.git
Fixed wrong argument in inputs.s input_desktop (#469)
This commit is contained in:
parent
33662480e9
commit
24f017e09c
|
|
@ -196,7 +196,7 @@ void input_desktop_add(
|
||||||
target->list[target->cur] = name;
|
target->list[target->cur] = name;
|
||||||
|
|
||||||
int name_len = strlen(name);
|
int name_len = strlen(name);
|
||||||
char* name_simple = strdup(name_len);
|
char* name_simple = strdup(name);
|
||||||
|
|
||||||
if (strstr(name_simple, " ") != NULL)
|
if (strstr(name_simple, " ") != NULL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue