diff options
author | smatz <smatz@openttd.org> | 2008-09-15 22:58:41 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-15 22:58:41 +0000 |
commit | 5f4ff33ce340fc71e17abbdede06226dd4e56a54 (patch) | |
tree | 45c367908e8900a20e722b7841e5eaf20df8cafd /src/vehicle_gui.cpp | |
parent | a20dae0df1614f8701c1ac3a20a64fe6fd4fda5d (diff) | |
download | openttd-5f4ff33ce340fc71e17abbdede06226dd4e56a54.tar.xz |
(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too
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 e5a57da66..c4bcc684a 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -1516,7 +1516,7 @@ struct VehicleDetailsWindow : Window { if (str == NULL) return; _cmd_text = str; - DoCommandP(0, this->window_number, 0, NULL, CMD_NAME_VEHICLE | CMD_MSG(_name_vehicle_error[GetVehicle(this->window_number)->type])); + DoCommandP(0, this->window_number, 0, NULL, CMD_RENAME_VEHICLE | CMD_MSG(_name_vehicle_error[GetVehicle(this->window_number)->type])); } virtual void OnResize(Point new_size, Point delta) |