(svn r14063) -Codechange: replace some "magic" constants with enumified constants.

This commit is contained in:
rubidium
2008-08-13 06:05:01 +00:00
parent 08e7da71f5
commit 97c184f8f8
19 changed files with 48 additions and 18 deletions

View File

@@ -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;
}