diff options
author | rubidium <rubidium@openttd.org> | 2008-08-13 06:05:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-13 06:05:01 +0000 |
commit | 97c184f8f8265cf59b24ab3081a032c7162afcb5 (patch) | |
tree | dd64aeafae6994a4ed4e2d23a71d62db7de1668f /src/station_gui.cpp | |
parent | 08e7da71f520649359bbe40656a7c93e6ac2e1b0 (diff) | |
download | openttd-97c184f8f8265cf59b24ab3081a032c7162afcb5.tar.xz |
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r-- | src/station_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index d1bcf3623..c382c783a 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -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 |