(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

@@ -145,7 +145,7 @@ void ShowRenameWaypointWindow(const Waypoint *wp)
_rename_id = id;
_rename_what = 1;
SetDParam(0, id);
ShowQueryString(STR_WAYPOINT_RAW, STR_EDIT_WAYPOINT_NAME, 30, 180, NULL, CS_ALPHANUMERAL);
ShowQueryString(STR_WAYPOINT_RAW, STR_EDIT_WAYPOINT_NAME, MAX_LENGTH_WAYPOINT_NAME_BYTES, MAX_LENGTH_WAYPOINT_NAME_PIXELS, NULL, CS_ALPHANUMERAL);
}