rnd-20060730-1-src
[rocksndiamonds.git] / src / events.c
index d78ff4a9439738cbed3df5234bb28c7d33085765..10166129165a69d3708480c5ed4f4409fff4bfdc 100644 (file)
@@ -419,7 +419,7 @@ void HandleButton(int mx, int my, int button, int button_nr)
   }
 
   /* do not use scroll wheel button events for anything other than gadgets */
-  if (button_nr > 3)
+  if (IS_WHEEL_BUTTON(button_nr))
     return;
 
   switch (game_status)