summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-12-19 17:48:04 +0000
committerrubidium <rubidium@openttd.org>2011-12-19 17:48:04 +0000
commitdf16ebd7301a989c813c26ab2e21163d361ee236 (patch)
treec74b8a1f965a17c3ac054290ae8d918d88ad1e52 /src/widgets
parenteaadd215be7a4594bd37504935a821f8cf68c984 (diff)
downloadopenttd-df16ebd7301a989c813c26ab2e21163d361ee236.tar.xz
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/genworld_widget.h2
-rw-r--r--src/widgets/misc_widget.h4
-rw-r--r--src/widgets/toolbar_widget.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/genworld_widget.h b/src/widgets/genworld_widget.h
index d6ecf6218..9df8590e2 100644
--- a/src/widgets/genworld_widget.h
+++ b/src/widgets/genworld_widget.h
@@ -73,7 +73,7 @@ enum CreateScenarioWidgets {
WID_CS_START_DATE_UP, ///< Increase start year (start later).
WID_CS_FLAT_LAND_HEIGHT_DOWN, ///< Decrease flat land height.
WID_CS_FLAT_LAND_HEIGHT_TEXT, ///< Clickable flat land height value.
- WID_CS_FLAT_LAND_HEIGHT_UP ///< Increase flat land height.
+ WID_CS_FLAT_LAND_HEIGHT_UP, ///< Increase flat land height.
};
/** Widgets of the WC_MODAL_PROGRESS (WC_MODAL_PROGRESS is also used in ScanProgressWidgets). */
diff --git a/src/widgets/misc_widget.h b/src/widgets/misc_widget.h
index 13d37da97..580909931 100644
--- a/src/widgets/misc_widget.h
+++ b/src/widgets/misc_widget.h
@@ -34,7 +34,7 @@ enum QueryStringWidgets {
WID_QS_TEXT, ///< Text of the query.
WID_QS_DEFAULT, ///< Default button.
WID_QS_CANCEL, ///< Cancel button.
- WID_QS_OK ///< OK button.
+ WID_QS_OK, ///< OK button.
};
/** Widgets of the WC_CONFIRM_POPUP_QUERY (WC_CONFIRM_POPUP_QUERY is also used in BootstrapAskForDownloadWidgets). */
@@ -42,7 +42,7 @@ enum QueryWidgets {
WID_Q_CAPTION, ///< Caption of the window.
WID_Q_TEXT, ///< Text of the query.
WID_Q_NO, ///< Yes button.
- WID_Q_YES ///< No button.
+ WID_Q_YES, ///< No button.
};
#endif /* WIDGETS_MISC_WIDGET_H */
diff --git a/src/widgets/toolbar_widget.h b/src/widgets/toolbar_widget.h
index 76fad50bb..762ddf70e 100644
--- a/src/widgets/toolbar_widget.h
+++ b/src/widgets/toolbar_widget.h
@@ -43,7 +43,7 @@ enum ToolbarNormalWidgets {
WID_TN_MESSAGES, ///< Messages menu.
WID_TN_HELP, ///< Help menu.
WID_TN_SWITCH_BAR, ///< Only available when toolbar has been split to switch between different subsets.
- WID_TN_END ///< Helper for knowing the amount of widgets.
+ WID_TN_END, ///< Helper for knowing the amount of widgets.
};
/** Widgets of the WC_MAIN_TOOLBAR, when in scenario editor. */