diff options
author | rubidium <rubidium@openttd.org> | 2009-07-28 21:06:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-28 21:06:38 +0000 |
commit | e473e69ba4d59df7f9cdd9a5010cf54a66fd5b90 (patch) | |
tree | a362d0c8540e1ecb4ba9ab1cc8c382106d972ac0 /src/waypoint_gui.cpp | |
parent | ffa0c7d29d484094832a85e2e0cdbc2f9a9f2a18 (diff) | |
download | openttd-e473e69ba4d59df7f9cdd9a5010cf54a66fd5b90.tar.xz |
(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants
Diffstat (limited to 'src/waypoint_gui.cpp')
-rw-r--r-- | src/waypoint_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/waypoint_gui.cpp b/src/waypoint_gui.cpp index 46478505c..03f6fcc46 100644 --- a/src/waypoint_gui.cpp +++ b/src/waypoint_gui.cpp @@ -82,7 +82,7 @@ public: case WAYPVW_RENAME: // rename SetDParam(0, this->wp->index); - ShowQueryString(STR_WAYPOINT_NAME, STR_EDIT_WAYPOINT_NAME, MAX_LENGTH_WAYPOINT_NAME_BYTES, MAX_LENGTH_WAYPOINT_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT); + ShowQueryString(STR_WAYPOINT_NAME, STR_EDIT_WAYPOINT_NAME, MAX_LENGTH_STATION_NAME_BYTES, MAX_LENGTH_STATION_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT); break; case WAYPVW_SHOW_VEHICLES: // show list of vehicles having this waypoint in their orders |