(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
This commit is contained in:
@@ -1091,7 +1091,7 @@ struct BuildVehicleWindow : Window {
|
||||
case VEH_AIRCRAFT: str = STR_A039_RENAME_AIRCRAFT_TYPE; break;
|
||||
}
|
||||
SetDParam(0, sel_eng);
|
||||
ShowQueryString(STR_ENGINE_NAME, str, 31, 160, this, CS_ALPHANUMERAL);
|
||||
ShowQueryString(STR_ENGINE_NAME, str, MAX_LENGTH_ENGINE_NAME_BYTES, MAX_LENGTH_ENGINE_NAME_PIXELS, this, CS_ALPHANUMERAL);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user