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/main_gui.cpp | |
parent | 08e7da71f520649359bbe40656a7c93e6ac2e1b0 (diff) | |
download | openttd-97c184f8f8265cf59b24ab3081a032c7162afcb5.tar.xz |
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index fa89c91d3..218705527 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -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); } |