From fcd533d991d666f24b3a73a56ba308ac14841bbb Mon Sep 17 00:00:00 2001 From: glx Date: Wed, 4 Oct 2006 01:08:25 +0000 Subject: (svn r6635) -Fix r6634: incomplete/incorrect assignment --- vehicle_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vehicle_gui.c b/vehicle_gui.c index f9c977f84..5d17c2276 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -1576,7 +1576,7 @@ static void DrawVehicleListWindow(Window *w) } if (owner == _local_player) { - bool list_isempty vl->l.list_length == 0; + bool list_isempty = vl->l.list_length == 0; SetWindowWidgetDisabledState(w, VLW_WIDGET_SEND_TO_DEPOT, list_isempty); SetWindowWidgetDisabledState(w, VLW_WIDGET_AUTOREPLACE, list_isempty); -- cgit v1.2.3-70-g09d2