summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-05 19:45:45 +0000
committerfrosch <frosch@openttd.org>2012-11-05 19:45:45 +0000
commitd1c17394ec960d6e9489e0c1d45fdf3fdbdd3923 (patch)
tree6771ae4c3e1272ed6a0f4f4db5cc3b4949a012dd
parent9044138097d4eda1969ac9f8dabc2fa5338317e6 (diff)
downloadopenttd-d1c17394ec960d6e9489e0c1d45fdf3fdbdd3923.tar.xz
(svn r24663) -Codechange: Unify the naming of widget enums.
-rw-r--r--src/widgets/statusbar_widget.h2
-rw-r--r--src/window_type.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/statusbar_widget.h b/src/widgets/statusbar_widget.h
index d0b8ca443..1cfbe7ff2 100644
--- a/src/widgets/statusbar_widget.h
+++ b/src/widgets/statusbar_widget.h
@@ -13,7 +13,7 @@
#define WIDGETS_STATUSBAR_WIDGET_H
/** Widgets of the #StatusBarWindow class. */
-enum StatusbarWidget {
+enum StatusbarWidgets {
WID_S_LEFT, ///< Left part of the statusbar; date is shown there.
WID_S_MIDDLE, ///< Middle part; current news or company name or *** SAVING *** or *** PAUSED ***.
WID_S_RIGHT, ///< Right part; bank balance.
diff --git a/src/window_type.h b/src/window_type.h
index e6643a818..6d5456cb7 100644
--- a/src/window_type.h
+++ b/src/window_type.h
@@ -56,7 +56,7 @@ enum WindowClass {
/**
* Statusbar (at the bottom of your screen); %Window numbers:
- * - 0 = #StatusbarWidget
+ * - 0 = #StatusbarWidgets
*/
WC_STATUS_BAR,