From a2362674e33e66bf1d27df208db5b2250a01012e Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 10 Jun 2006 08:37:41 +0000 Subject: (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc. --- order_gui.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'order_gui.c') diff --git a/order_gui.c b/order_gui.c index a82ea2731..21f151218 100644 --- a/order_gui.c +++ b/order_gui.c @@ -468,9 +468,7 @@ static void OrdersWndProc(Window *w, WindowEvent *e) 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; } } -- cgit v1.2.3-54-g00ecf