File diff r28811:c7d0936f4cf0 → r28812:d6d9465e39a0
src/depot_gui.cpp
Show inline comments
 
@@ -384,7 +384,7 @@ struct DepotWindow : Window {
 
		 */
 
		if (this->type == VEH_TRAIN && _consistent_train_width != 0) {
 
			int w = ScaleSpriteTrad(2 * _consistent_train_width);
 
			int col = _colour_gradient[wid->colour][4];
 
			int col = GetColourGradient(wid->colour, 4);
 
			Rect image = ir.Indent(this->header_width, rtl).Indent(this->count_width, !rtl);
 
			int first_line = w + (-this->hscroll->GetPosition()) % w;
 
			if (rtl) {