acme: accept paths with spaces in the 'name' ctl message

As it is allowed to use spaces in file names set interactively through
the tag since 7b1c85f, do not reject names with spaces in the 'name'
ctl message either.

Fixes #559.
This commit is contained in:
Igor Burago 2022-07-29 22:53:14 +08:00 committed by Dan Cross
parent 29fae81fb7
commit c57b71966e

View file

@ -691,7 +691,7 @@ xfidctlwrite(Xfid *x, Window *w)
break;
}
for(i=0; i<nr; i++)
if(r[i] <= ' '){
if(r[i] < ' '){
err = "bad character in file name";
goto out;
}