order_gui.c
changeset 4000 bab1ebc37da0
parent 3793 33cdb5bf7b21
child 4012 ad6a6f29e890
--- a/order_gui.c	Fri Jun 09 20:06:02 2006 +0000
+++ b/order_gui.c	Sat Jun 10 08:37:41 2006 +0000
@@ -468,9 +468,7 @@
 			if (e->keypress.keycode == _order_keycodes[i]) {
 				e->keypress.cont = false;
 				//see if the button is disabled
-				if (!(HASBIT(w->disabled_state, (i + 4)))) {
-					_order_button_proc[i](w, v);
-				}
+				if (!HASBIT(w->disabled_state, i + 4)) _order_button_proc[i](w, v);
 				break;
 			}
 		}