diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2008-06-14 21:59:10 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2008-06-14 21:59:10 +0000 |
commit | 572b550e69021b4c2a65a8425ab3f22b3da5e17a (patch) | |
tree | bc44f32ee93fa1113c41bd01fe793000ef16c329 /app/cwm/conf.c | |
parent | e8e685547f862de636ba1ba3e9c03650b78e10ea (diff) |
unbreak
Diffstat (limited to 'app/cwm/conf.c')
-rw-r--r-- | app/cwm/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/conf.c b/app/cwm/conf.c index 04ebad90c..90e8e0c2d 100644 --- a/app/cwm/conf.c +++ b/app/cwm/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: conf.c,v 1.38 2008/06/14 21:51:00 okan Exp $ + * $Id: conf.c,v 1.39 2008/06/14 21:59:09 okan Exp $ */ #include "headers.h" @@ -434,7 +434,7 @@ conf_mousebind(struct conf *c, char *name, char *binding) if (strchr(name, '-') == NULL) substring = name; - current_binding->button = strtonum(substring); + current_binding->button = strtonum(substring, 1, 3, &errstr); if (errstr) warnx("number of buttons is %s: %s", errstr, substring); |