mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 18:26:03 +00:00
Make sure all members are initialized in the constructor.
This commit is contained in:
parent
243e869866
commit
3e513633d4
@ -19,7 +19,12 @@
|
||||
#include "game_preferences.hpp"
|
||||
|
||||
namespace gui{
|
||||
floating_textbox::floating_textbox() : box_(NULL), check_(NULL), mode_(TEXTBOX_NONE), label_(0)
|
||||
floating_textbox::floating_textbox() :
|
||||
box_(NULL),
|
||||
check_(NULL),
|
||||
mode_(TEXTBOX_NONE),
|
||||
label_string_(),
|
||||
label_(0)
|
||||
{}
|
||||
|
||||
void floating_textbox::close(game_display& gui)
|
||||
|
Loading…
x
Reference in New Issue
Block a user