(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 688267ad52
commit c816cc37fd
19 changed files with 48 additions and 18 deletions

View File

@@ -370,7 +370,7 @@ public:
case TVW_CHANGENAME: /* rename */
SetDParam(0, this->window_number);
ShowQueryString(STR_TOWN, STR_2007_RENAME_TOWN, 31, 130, this, CS_ALPHANUMERAL);
ShowQueryString(STR_TOWN, STR_2007_RENAME_TOWN, MAX_LENGTH_TOWN_NAME_BYTES, MAX_LENGTH_TOWN_NAME_PIXELS, this, CS_ALPHANUMERAL);
break;
case TVW_EXPAND: /* expand town - only available on Scenario editor */