Changeset - r28483:8ab6ecb98d85
[Not reviewed]
master
0 3 0
Peter Nelson - 11 months ago 2024-01-15 22:49:23
peter1138@openttd.org
Codechange: Remove redundant struct keyword.
3 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
src/bootstrap_gui.cpp
Show inline comments
 
@@ -29,13 +29,13 @@
 

	
 
#include "table/strings.h"
 

	
 
#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(),
 
};
 

	
 
/**
 
 * Window description for the background window to prevent smearing.
src/console_gui.cpp
Show inline comments
 
@@ -95,13 +95,13 @@ static inline void IConsoleResetHistoryP
 
}
 

	
 

	
 
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),
 
};
 

	
 
static WindowDesc _console_window_desc(__FILE__, __LINE__,
 
	WDP_MANUAL, nullptr, 0, 0,
 
	WC_CONSOLE, WC_NONE,
src/main_gui.cpp
Show inline comments
 
@@ -173,13 +173,13 @@ void FixTitleGameZoom(int zoom_adjust)
 
	}
 

	
 
	vp->virtual_width = ScaleByZoom(vp->width, vp->zoom);
 
	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),
 
};
 

	
 
enum {
 
	GHK_QUIT,
 
	GHK_ABANDON,
0 comments (0 inline, 0 general)