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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user