summaryrefslogtreecommitdiff
path: root/vehicle_gui.c
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2006-10-04 01:08:25 +0000
committerglx <glx@openttd.org>2006-10-04 01:08:25 +0000
commite27e381d29ce7979fddd6c7f1029e0ae90aa8e4a (patch)
treea862f68ee0b70345d0a6f331ee68d12d5d3a013e /vehicle_gui.c
parent0305adeb12c60edd021c8dc2cc7b82d8771f0d7e (diff)
downloadopenttd-e27e381d29ce7979fddd6c7f1029e0ae90aa8e4a.tar.xz
(svn r6635) -Fix r6634: incomplete/incorrect assignment
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r--vehicle_gui.c2
1 files changed, 1 insertions, 1 deletions
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);