compile fix
This commit is contained in:
parent
df0447ce6d
commit
fc4885a3f4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue