Mercurial > hg > openttd
changeset 4723:31c4f40ecdd8 draft
(svn r6635) -Fix r6634: incomplete/incorrect assignment
author | glx <glx@openttd.org> |
---|---|
date | Wed, 04 Oct 2006 01:08:25 +0000 |
parents | b916957a9b2e |
children | 8ebbf44badd1 |
files | vehicle_gui.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -1576,7 +1576,7 @@ } 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);