1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-02-03 01:15:03 +01:00

Codechange: remove ZeroedMemoryAllocator from NWidgetBase

This commit is contained in:
Rubidium
2025-02-22 12:07:17 +01:00
committed by rubidium42
parent bb4ac915ff
commit 5cee804f98
8 changed files with 88 additions and 115 deletions

View File

@@ -49,10 +49,10 @@ struct Dimension {
/** Padding dimensions to apply to each side of a Rect. */
struct RectPadding {
uint8_t left;
uint8_t top;
uint8_t right;
uint8_t bottom;
uint8_t left = 0;
uint8_t top = 0;
uint8_t right = 0;
uint8_t bottom = 0;
static const RectPadding zero;