summaryrefslogtreecommitdiff
path: root/src/script/api/script_window.hpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2014-09-11 17:10:38 +0000
committeralberth <alberth@openttd.org>2014-09-11 17:10:38 +0000
commit22b967676eb57c7985943bf3673554dae21df427 (patch)
treea51868df4dab7370520470941f187751b493de3a /src/script/api/script_window.hpp
parentbb95dd5dcced7a7261449596ca176144b77b1030 (diff)
downloadopenttd-22b967676eb57c7985943bf3673554dae21df427.tar.xz
(svn r26811) -Fix[FS#6108]: Fixed spelling error in widget name.
Diffstat (limited to 'src/script/api/script_window.hpp')
-rw-r--r--src/script/api/script_window.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp
index 0f6e3e0ed..099d90fb2 100644
--- a/src/script/api/script_window.hpp
+++ b/src/script/api/script_window.hpp
@@ -924,7 +924,7 @@ public:
WID_RV_CAPTION = ::WID_RV_CAPTION, ///< Caption of the window.
/* Sort dropdown at the right. */
- WID_RV_SORT_ASSENDING_DESCENDING = ::WID_RV_SORT_ASSENDING_DESCENDING, ///< Ascending/descending sort order button.
+ WID_RV_SORT_ASCENDING_DESCENDING = ::WID_RV_SORT_ASCENDING_DESCENDING, ///< Ascending/descending sort order button.
WID_RV_SHOW_HIDDEN_ENGINES = ::WID_RV_SHOW_HIDDEN_ENGINES, ///< Toggle whether to display the hidden vehicles.
WID_RV_SORT_DROPDOWN = ::WID_RV_SORT_DROPDOWN, ///< Dropdown for the sort criteria.
@@ -976,7 +976,7 @@ public:
/** Widgets of the #BuildVehicleWindow class. */
enum BuildVehicleWidgets {
WID_BV_CAPTION = ::WID_BV_CAPTION, ///< Caption of window.
- WID_BV_SORT_ASSENDING_DESCENDING = ::WID_BV_SORT_ASSENDING_DESCENDING, ///< Sort direction.
+ WID_BV_SORT_ASCENDING_DESCENDING = ::WID_BV_SORT_ASCENDING_DESCENDING, ///< Sort direction.
WID_BV_SORT_DROPDOWN = ::WID_BV_SORT_DROPDOWN, ///< Criteria of sorting dropdown.
WID_BV_CARGO_FILTER_DROPDOWN = ::WID_BV_CARGO_FILTER_DROPDOWN, ///< Cargo filter dropdown.
WID_BV_SHOW_HIDDEN_ENGINES = ::WID_BV_SHOW_HIDDEN_ENGINES, ///< Toggle whether to display the hidden vehicles.