mirror of
https://github.com/OpenTTD/OpenTTD
synced 2025-12-22 12:42:43 +01:00
Codechange: explicitly initialise member variables of Windows
This commit is contained in:
@@ -324,17 +324,17 @@ private:
|
||||
static const uint EDITBOX_MAX_SIZE = 50;
|
||||
|
||||
QueryString filename_editbox; ///< Filename editbox.
|
||||
AbstractFileType abstract_filetype; /// Type of file to select.
|
||||
SaveLoadOperation fop; ///< File operation to perform.
|
||||
FileList fios_items; ///< Save game list.
|
||||
FiosItem o_dir; ///< Original dir (home dir for this browser)
|
||||
const FiosItem *selected; ///< Selected game in #fios_items, or \c nullptr.
|
||||
const FiosItem *highlighted; ///< Item in fios_items highlighted by mouse pointer, or \c nullptr.
|
||||
Scrollbar *vscroll;
|
||||
AbstractFileType abstract_filetype{}; /// Type of file to select.
|
||||
SaveLoadOperation fop{}; ///< File operation to perform.
|
||||
FileList fios_items{}; ///< Save game list.
|
||||
FiosItem o_dir{}; ///< Original dir (home dir for this browser)
|
||||
const FiosItem *selected = nullptr; ///< Selected game in #fios_items, or \c nullptr.
|
||||
const FiosItem *highlighted = nullptr; ///< Item in fios_items highlighted by mouse pointer, or \c nullptr.
|
||||
Scrollbar *vscroll = nullptr;
|
||||
|
||||
StringFilter string_filter; ///< Filter for available games.
|
||||
StringFilter string_filter{}; ///< Filter for available games.
|
||||
QueryString filter_editbox; ///< Filter editbox;
|
||||
std::vector<FiosItem *> display_list; ///< Filtered display list
|
||||
std::vector<FiosItem *> display_list{}; ///< Filtered display list
|
||||
|
||||
static void SaveGameConfirmationCallback(Window *, bool confirmed)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user