mirror of https://github.com/OpenTTD/OpenTTD.git
Codechange: Remove redundant struct keyword.
This commit is contained in:
parent
6860a86d45
commit
7eecd7512f
|
@ -32,7 +32,7 @@
|
|||
#include "safeguards.h"
|
||||
|
||||
/** Widgets for the background window to prevent smearing. */
|
||||
static const struct NWidgetPart _background_widgets[] = {
|
||||
static const NWidgetPart _background_widgets[] = {
|
||||
NWidget(WWT_PANEL, COLOUR_DARK_BLUE, WID_BB_BACKGROUND), SetResize(1, 1),
|
||||
EndContainer(),
|
||||
};
|
||||
|
|
|
@ -98,7 +98,7 @@ static inline void IConsoleResetHistoryPos()
|
|||
static const char *IConsoleHistoryAdd(const char *cmd);
|
||||
static void IConsoleHistoryNavigate(int direction);
|
||||
|
||||
static const struct NWidgetPart _nested_console_window_widgets[] = {
|
||||
static const NWidgetPart _nested_console_window_widgets[] = {
|
||||
NWidget(WWT_EMPTY, INVALID_COLOUR, WID_C_BACKGROUND), SetResize(1, 1),
|
||||
};
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ void FixTitleGameZoom(int zoom_adjust)
|
|||
vp->virtual_height = ScaleByZoom(vp->height, vp->zoom);
|
||||
}
|
||||
|
||||
static const struct NWidgetPart _nested_main_window_widgets[] = {
|
||||
static const NWidgetPart _nested_main_window_widgets[] = {
|
||||
NWidget(NWID_VIEWPORT, INVALID_COLOUR, WID_M_VIEWPORT), SetResize(1, 1),
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue