mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 20:24:12 +01:00
(svn r26653) [1.4] -Backport from trunk:
- Fix: Incorrect usage of string commands in the base language [FS#6037] (r26642, r26640, r26639, r26632)
This commit is contained in:
@@ -134,9 +134,8 @@ static void ShowNewGRFInfo(const GRFConfig *c, uint x, uint y, uint right, uint
|
||||
|
||||
/* Draw GRF info if it exists */
|
||||
if (!StrEmpty(c->GetDescription())) {
|
||||
SetDParam(0, STR_JUST_RAW_STRING);
|
||||
SetDParamStr(1, c->GetDescription());
|
||||
y = DrawStringMultiLine(x, right, y, bottom, STR_BLACK_STRING);
|
||||
SetDParamStr(0, c->GetDescription());
|
||||
y = DrawStringMultiLine(x, right, y, bottom, STR_BLACK_RAW_STRING);
|
||||
} else {
|
||||
y = DrawStringMultiLine(x, right, y, bottom, STR_NEWGRF_SETTINGS_NO_INFO);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user