aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2008-06-14 21:59:09 +0000
committerokan2008-06-14 21:59:09 +0000
commitaead24e5fdb676a1cb63f6fd569fed20baa57cbf (patch)
tree5c6e7db5832ba80bfe892f4e8e2d903fc25e4880
parent1828cb75bd4052187e7a3640de9c0060b54b210d (diff)
downloadcwm-aead24e5fdb676a1cb63f6fd569fed20baa57cbf.tar.gz
unbreak
-rw-r--r--conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index 04ebad9..90e8e0c 100644
--- a/conf.c
+++ b/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);