diff options
author | terkhen <terkhen@openttd.org> | 2011-04-17 18:42:17 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-04-17 18:42:17 +0000 |
commit | 10caf391a1b6de33e1ac03236b2744adc9a2b2c5 (patch) | |
tree | e15e81245ef9d18ae217a50ad0b276692213a725 /src/build_vehicle_gui.cpp | |
parent | e874f0e16e5ddaff3c5f40f419f31aedc7226897 (diff) | |
download | openttd-10caf391a1b6de33e1ac03236b2744adc9a2b2c5.tar.xz |
(svn r22343) -Change: Remove pixel limiter for query strings.
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r-- | src/build_vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index 2caa42d9d..70cd31d62 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -1211,7 +1211,7 @@ struct BuildVehicleWindow : Window { if (sel_eng != INVALID_ENGINE) { this->rename_engine = sel_eng; SetDParam(0, sel_eng); - ShowQueryString(STR_ENGINE_NAME, STR_QUERY_RENAME_TRAIN_TYPE_CAPTION + this->vehicle_type, MAX_LENGTH_ENGINE_NAME_CHARS, MAX_LENGTH_ENGINE_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT | QSF_LEN_IN_CHARS); + ShowQueryString(STR_ENGINE_NAME, STR_QUERY_RENAME_TRAIN_TYPE_CAPTION + this->vehicle_type, MAX_LENGTH_ENGINE_NAME_CHARS, this, CS_ALPHANUMERAL, QSF_ENABLE_DEFAULT | QSF_LEN_IN_CHARS); } break; } |