diff options
author | smatz <smatz@openttd.org> | 2008-09-15 16:29:40 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-15 16:29:40 +0000 |
commit | 606f4defdca281a3f918c9525dbd4d525ad11131 (patch) | |
tree | 460dfbcf75a0eba53ff1d436c6670f771aeeb3fd /src/vehicle_gui.cpp | |
parent | ff89c704fa40362b7c3f958bade4b8380182a54b (diff) | |
download | openttd-606f4defdca281a3f918c9525dbd4d525ad11131.tar.xz |
(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index dd78497bb..ec162382e 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1470,7 +1470,7 @@ struct VehicleDetailsWindow : Window { case VLD_WIDGET_RENAME_VEHICLE: {// rename const Vehicle *v = GetVehicle(this->window_number); SetDParam(0, v->index); - ShowQueryString(STR_VEHICLE_NAME, _name_vehicle_title[v->type], MAX_LENGTH_VEHICLE_NAME_BYTES, MAX_LENGTH_VEHICLE_NAME_PIXELS, this, CS_ALPHANUMERAL); + ShowQueryString(STR_VEHICLE_NAME, _name_vehicle_title[v->type], MAX_LENGTH_VEHICLE_NAME_BYTES, MAX_LENGTH_VEHICLE_NAME_PIXELS, this, CS_ALPHANUMERAL, QSF_NONE); } break; case VLD_WIDGET_INCREASE_SERVICING_INTERVAL: // increase int |