]> Dogcows Code - chaz/openbox/commitdiff
compile fix
authorDana Jansens <danakj@orodu.net>
Tue, 4 Feb 2003 13:32:03 +0000 (13:32 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 4 Feb 2003 13:32:03 +0000 (13:32 +0000)
src/bindings.cc

index 5ae389b16b84d45f0682b28433dbf9ca2683b3f0..cafc85016736eefd1e68ebdf0c6f0aa5cb73478e 100644 (file)
@@ -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))
This page took 0.027244 seconds and 4 git commands to generate.