From 35d1878dd95f1f248ee451ddd003429c6cea1d4b Mon Sep 17 00:00:00 2001 From: Sergii Pylypenko Date: Fri, 22 Sep 2017 23:30:07 +0300 Subject: [PATCH] More Android patches reverted --- src/statusbar_gui.cpp | 2 +- src/viewport.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/statusbar_gui.cpp b/src/statusbar_gui.cpp index a1a79d5bb4..4d1f103d06 100644 --- a/src/statusbar_gui.cpp +++ b/src/statusbar_gui.cpp @@ -255,7 +255,7 @@ struct StatusBarWindow : Window { static const NWidgetPart _nested_main_status_widgets[] = { NWidget(NWID_HORIZONTAL), NWidget(WWT_PANEL, COLOUR_GREY, WID_S_LEFT), SetMinimalSize(140, 12), EndContainer(), - NWidget(WWT_PUSHBTN, COLOUR_GREY, WID_S_MIDDLE), SetMinimalSize(360, 12), SetDataTip(0x0, STR_STATUSBAR_TOOLTIP_SHOW_LAST_NEWS), SetResize(1, 0), + NWidget(WWT_PUSHBTN, COLOUR_GREY, WID_S_MIDDLE), SetMinimalSize(40, 12), SetDataTip(0x0, STR_STATUSBAR_TOOLTIP_SHOW_LAST_NEWS), SetResize(1, 0), NWidget(WWT_PUSHBTN, COLOUR_GREY, WID_S_RIGHT), SetMinimalSize(140, 12), EndContainer(), }; diff --git a/src/viewport.cpp b/src/viewport.cpp index e404b8db09..c0187b1c19 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -2193,6 +2193,7 @@ bool HandleViewportMouseUp(const ViewPort *vp, int x, int y) if (v != NULL && VehicleClicked(v)) return true; } + /* Vehicle placement mode already handled above. */ if ((_thd.place_mode & HT_DRAG_MASK) != HT_NONE) { PlaceObject(); return true;