diff options
author | bjarni <bjarni@openttd.org> | 2006-09-29 19:03:40 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2006-09-29 19:03:40 +0000 |
commit | d721227adee148d06a4b037bd49cc7bc87033ed9 (patch) | |
tree | 7b4b07bebaeb6f4fe3f7832c33ae6e4f80f45f4c | |
parent | dddc3e0fd1f957cf02613353f71a07fc6adc8949 (diff) | |
download | openttd-d721227adee148d06a4b037bd49cc7bc87033ed9.tar.xz |
(svn r6581) -Fix r6562: [vehicle list windows] fixed an off by one issue when drawing the bottom row of buttons
-rw-r--r-- | vehicle_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c index cd153df9d..410d4ec88 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -1271,7 +1271,7 @@ static void ResizeVehicleListWidgets(Window *w) { w->widget[VLW_WIDGET_AUTOREPLACE].right = w->widget[VLW_WIDGET_STOP_ALL].left - 1; w->widget[VLW_WIDGET_SEND_TO_DEPOT].right = w->widget[VLW_WIDGET_AUTOREPLACE].right / 2; - w->widget[VLW_WIDGET_AUTOREPLACE].left = w->widget[VLW_WIDGET_SEND_TO_DEPOT].right; + w->widget[VLW_WIDGET_AUTOREPLACE].left = w->widget[VLW_WIDGET_SEND_TO_DEPOT].right + 1; } static void CreateVehicleListWindow(Window *w) |