(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

@@ -911,7 +911,7 @@ struct StationViewWindow : public Window {
case SVW_RENAME:
SetDParam(0, this->window_number);
ShowQueryString(STR_STATION, STR_3030_RENAME_STATION_LOADING, 31, 180, this, CS_ALPHANUMERAL);
ShowQueryString(STR_STATION, STR_3030_RENAME_STATION_LOADING, MAX_LENGTH_STATION_NAME_BYTES, MAX_LENGTH_STATION_NAME_PIXELS, this, CS_ALPHANUMERAL);
break;
case SVW_TRAINS: { // Show a list of scheduled trains to this station