1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 01:12:39 +01:00

Codechange: explicitly initialise member variables of Windows

This commit is contained in:
Rubidium
2025-02-22 18:23:52 +01:00
committed by rubidium42
parent 1b6a77a190
commit 0afae7c546
17 changed files with 132 additions and 154 deletions

View File

@@ -146,9 +146,9 @@ static WindowDesc _console_window_desc(
struct IConsoleWindow : Window
{
static size_t scroll;
int line_height; ///< Height of one line of text in the console.
int line_offset;
int cursor_width;
int line_height = 0; ///< Height of one line of text in the console.
int line_offset = 0;
int cursor_width = 0;
IConsoleWindow() : Window(_console_window_desc)
{