summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-04 13:32:03 +0000
committerDana Jansens <danakj@orodu.net>2003-02-04 13:32:03 +0000
commitfc4885a3f4c2a023a6e64cce62fc5cde1667f2e9 (patch)
treec332c05c6edc37769c08bca5bd3fbd71b8a494f9
parentdf0447ce6d57c6ece97e69fc0874595e4ac0ae75 (diff)
compile fix
-rw-r--r--src/bindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings.cc b/src/bindings.cc
index 5ae389b1..cafc8501 100644
--- a/src/bindings.cc
+++ b/src/bindings.cc
@@ -481,7 +481,7 @@ bool Bindings::addButton(const std::string &but, MouseContext::MC context,
MouseAction::MA action, PyObject *callback)
{
assert(context >= 0 && context < MouseContext::NUM_MOUSE_CONTEXT);
- assert(action >= 0 && context < MouseContext::NUM_MOUSE_ACTION);
+ assert(action >= 0 && action < MouseAction::NUM_MOUSE_ACTION);
Binding b(0,0);
if (!translate(but, b, false))