(svn r24938) -Fix [FS#5447-ish]: Never put a space between cargo name and subtype.

This commit is contained in:
frosch
2013-01-23 19:45:47 +00:00
parent 8fa3da44c7
commit f563250c0b
62 changed files with 62 additions and 62 deletions

View File

@@ -342,7 +342,7 @@ static void DrawVehicleRefitWindow(const SubtypeList list[NUM_CARGO], int sel, u
/* If the callback succeeded, draw the cargo suffix. */
if (refit.value != CALLBACK_FAILED && refit.value < 0x400) {
SetDParam(1, GetGRFStringID(refit.engine->GetGRFID(), 0xD000 + refit.value));
DrawString(r.left + WD_MATRIX_LEFT, r.right - WD_MATRIX_RIGHT, y, STR_JUST_STRING_SPACE_STRING, colour);
DrawString(r.left + WD_MATRIX_LEFT, r.right - WD_MATRIX_RIGHT, y, STR_JUST_STRING_STRING, colour);
} else {
DrawString(r.left + WD_MATRIX_LEFT, r.right - WD_MATRIX_RIGHT, y, STR_JUST_STRING, colour);
}