mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
unbreak
This commit is contained in:
parent
9d9c61b8f6
commit
160228210b
2
conf.c
2
conf.c
@ -434,7 +434,7 @@ conf_mousebind(struct conf *c, char *name, char *binding)
|
|||||||
if (strchr(name, '-') == NULL)
|
if (strchr(name, '-') == NULL)
|
||||||
substring = name;
|
substring = name;
|
||||||
|
|
||||||
current_binding->button = strtonum(substring);
|
current_binding->button = strtonum(substring, 1, 3, &errstr);
|
||||||
if (errstr)
|
if (errstr)
|
||||||
warnx("number of buttons is %s: %s", errstr, substring);
|
warnx("number of buttons is %s: %s", errstr, substring);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user