File diff r12404:d58b2d050240 → r12405:ba094e765533
src/vehicle_gui.cpp
Show inline comments
 
@@ -251,7 +251,7 @@ static RefitOption *DrawVehicleRefitWind
 

	
 
		if (i >= pos && i < pos + rows) {
 
			/* Draw the cargo name */
 
			int last_x = DrawString(2, right, y, GetCargo(refit[i].cargo)->name, colour);
 
			int last_x = DrawString(2, right, y, CargoSpec::Get(refit[i].cargo)->name, colour);
 

	
 
			/* If the callback succeeded, draw the cargo suffix */
 
			if (refit[i].value != CALLBACK_FAILED) {
 
@@ -503,7 +503,7 @@ uint ShowRefitOptionsList(int left, int 
 
			if (!first) b = strecpy(b, ", ", lastof(string));
 
			first = false;
 

	
 
			b = InlineString(b, GetCargo(cid)->name);
 
			b = InlineString(b, CargoSpec::Get(cid)->name);
 
		}
 
	}