File diff r27962:3e0ef7401ea8 → r27963:438e2b6f1de3
src/vehicle_gui.cpp
Show inline comments
 
@@ -1933,17 +1933,12 @@ public:
 
				break;
 

	
 
			case WID_VL_CAPTION:
 
			case WID_VL_CAPTION_SHARED_ORDERS: {
 
				switch (this->vli.type) {
 
					case VL_SHARED_ORDERS: // Shared Orders
 
						if (this->vehicles.size() == 0) {
 
							/* We can't open this window without vehicles using this order
 
							 * and we should close the window when deleting the order. */
 
							NOT_REACHED();
 
						}
 
						SetDParam(0, this->vehicles.size());
 
						break;
 

	
 
					case VL_STANDARD: // Company Name
 
						SetDParam(0, STR_COMPANY_NAME);
 
						SetDParam(1, this->vli.index);