diff options
author | alberth <alberth@openttd.org> | 2014-09-07 16:09:48 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2014-09-07 16:09:48 +0000 |
commit | 83f0b02ff5d61ee7ba9ce37730a9a6a0f67fbf4d (patch) | |
tree | 64dbbf400ae8b5c6348e8c3858bfd91e90c6c4d8 /src/build_vehicle_gui.cpp | |
parent | 876cc82f335efb7dbca96c97353609ad7af783c1 (diff) | |
download | openttd-83f0b02ff5d61ee7ba9ce37730a9a6a0f67fbf4d.tar.xz |
(svn r26798) -Codechange: Code style fixes.
Diffstat (limited to 'src/build_vehicle_gui.cpp')
-rw-r--r-- | src/build_vehicle_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build_vehicle_gui.cpp b/src/build_vehicle_gui.cpp index 57e306e88..747ac0fe6 100644 --- a/src/build_vehicle_gui.cpp +++ b/src/build_vehicle_gui.cpp @@ -948,7 +948,7 @@ struct BuildVehicleWindow : Window { this->vehicle_type = type; this->window_number = tile == INVALID_TILE ? (int)type : tile; - this->sel_engine = INVALID_ENGINE; + this->sel_engine = INVALID_ENGINE; this->sort_criteria = _last_sort_criteria[type]; this->descending_sort_order = _last_sort_order[type]; @@ -1311,6 +1311,7 @@ struct BuildVehicleWindow : Window { case WID_BV_CARGO_FILTER_DROPDOWN: SetDParam(0, this->cargo_filter_texts[this->cargo_filter_criteria]); + break; } } |