diff --git a/src/lang/english.txt b/src/lang/english.txt index 5c1d63fbb0..39f58b6ac1 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -5591,6 +5591,7 @@ STR_VEHICLE_NAME :{VEHICLE} STR_WAYPOINT_NAME :{WAYPOINT} STR_JUST_CARGO :{CARGO_LONG} +STR_JUST_RIGHT_ARROW :{RIGHT_ARROW} STR_JUST_CHECKMARK :{CHECKMARK} STR_JUST_COMMA :{COMMA} STR_JUST_CURRENCY_SHORT :{CURRENCY_SHORT} @@ -5610,7 +5611,6 @@ STR_JUST_BIG_RAW_STRING :{BIG_FONT}{RAW_ # Slightly 'raw' stringcodes with colour or size STR_WHITE_SIGN :{WHITE}{SIGN} STR_TINY_BLACK_HEIGHT :{TINY_FONT}{BLACK}{HEIGHT} -STR_TINY_RIGHT_ARROW :{TINY_FONT}{RIGHT_ARROW} STR_BLACK_1 :{BLACK}1 STR_BLACK_2 :{BLACK}2 diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index 6a90b7833b..384357137b 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -363,7 +363,7 @@ Dimension BaseVehicleListWindow::GetActionDropdownSize(bool show_autoreplace, bo void BaseVehicleListWindow::OnInit() { - this->order_arrow_width = GetStringBoundingBox(STR_TINY_RIGHT_ARROW).width; + this->order_arrow_width = GetStringBoundingBox(STR_JUST_RIGHT_ARROW, FS_SMALL).width; this->SetCargoFilterArray(); } @@ -1560,7 +1560,7 @@ static void DrawSmallOrderList(const Vehicle *v, int left, int right, int y, uin VehicleOrderID oid = start; do { - if (oid == v->cur_real_order_index) DrawString(left, right, y, STR_TINY_RIGHT_ARROW, TC_BLACK); + if (oid == v->cur_real_order_index) DrawString(left, right, y, STR_JUST_RIGHT_ARROW, TC_BLACK, SA_LEFT, false, FS_SMALL); if (order->IsType(OT_GOTO_STATION)) { SetDParam(0, order->GetDestination());